简体   繁体   中英

Rename PF-SRC file record name

Can someone tell me how to rename the record name of a PF-SRC ? Like: MYLIB/QRPGSRC has record format QDDSSRC . I want to change it to QRPGSRC .

I tried CHGPF and CHGSRCPF but there was no option for record name.

Thanks!

I don't think you can change a record format name for a file. If you create a new source physical file named QRPGSRC, the record format will be QRPGSRC. If you simply duplicate a file and change it's name, the record format name will be different from the file name.

So your best bet will be to create a new source file with the appropriate name, and copy the members from the old file to the new file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM