Change Command Defaults for File-Commands: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
(New)
 
(better)
 
Line 1: Line 1:
Certain '''File-Commands''', like <code>CRTPF</code>, <code>CHGPF</code> and the like allow to specify Multi-Member-Configuration settings. The <code>SIZE</code> parameter is a triplet and it looks, like it cannot be changed.
Certain '''File-Commands''', like <code>CRTPF</code>, <code>CHGPF</code> and the like allow to specify Multi-Member-Configuration settings. The <code>SIZE</code> parameter is a triplet and it looks, like it cannot be changed.


The solution is twofold:
Solution is to give parameters but not change them:
CHGCMDDFT CMD(CRTPF) NEWDFT('size(*N 0 0)')
  CHGCMDDFT CMD(CRTPF) NEWDFT('size(*NOMAX *N *N)')
  CHGCMDDFT CMD(CRTPF) NEWDFT('size(*NOMAX *N *N)')
This is ''not'' the same as providing <code>*SAME</code>.


== Weblinks ==
== Weblinks ==
* [https://www-01.ibm.com/support/docview.wss?uid=nas8N1013270]|
* [https://www-01.ibm.com/support/docview.wss?uid=nas8N1013270 Changing the Command Default CRTPF for Member Size *NOMAX]


[[Category: Software Configuration Guide]]
[[Category: Software Configuration Guide]]
[[Category: System Administration‏‎]]
[[Category: System Administration‏‎]]

Latest revision as of 16:26, 27 June 2019

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