Change Command Defaults for File-Commands

From Try-AS/400
Jump to navigation Jump to search

Certain File-Commands, like CRTPF, CHGPF and the like allow to specify Multi-Member-Configuration settings. The SIZE parameter is a triplet and it looks, like it cannot be changed.

Solution is to give parameters but not change them:

CHGCMDDFT CMD(CRTPF) NEWDFT('size(*NOMAX *N *N)')

This is not the same as providing *SAME.

Weblinks