Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change System/36 Source Attributes (CHGS36SRCA) command changes the attributes of the specified source member.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MBR | S/36 source member | Name | Required, Key, Positional 1 |
FILE | Source file | Qualified object name | Optional, Key, Positional 2 |
Qualifier 1: Source file | Name, QS36SRC | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
SRCTYPE | Source type | *SAME, ARS36, ASM36, BASP36, BAS36, BGC36, BGD36, BGF36, CBL36, DFU36, DSPF36, DTA36, FOR36, MNU36, MSGF36, PHL36, RPG36, RPT36, SRT36, WSU36, UNS36 | Optional |
REFNBR | Reference number | 0-999999, *SAME, *NEXT | Optional |
RCDLEN | Logical record length | 40-120, *SAME, *FILE | Optional |
MAXDEV | Maximum devices | 0-256, *SAME | Optional |
DFRWRT | Defer write | *SAME, *YES, *NO | Optional |
Top |
Specifies the name of the source member that is having its attributes changed.
This is a required parameter.
Top |
Specifies the name of the physical file containing the source member.
The possible library values are:
Top |
Specifies the source type of the source member.
Top |
Specifies the reference number assigned to the source member.
Top |
Specifies the logical record length of the statements in the source member.
Top |
Specifies the maximum number of devices for an SFGR source member.
Top |
Specifies that the writing of data to the display file is delayed until a read operation is requested. Control is returned to the requesting program immediately after the data is received for output. This may result in improved performance.
Top |
Example 1: Specifying Maximum Devices and Record Length
CHGS36SRCA MBR(SFGRSRC) FILE(SDALIB/QS36SRC) REFNBR(*NEXT) RCDLEN(80) MAXDEV(5)
This command changes source member SFGRSRC in file QS36SRC in library SDALIB to allow up to five devices and to have a record length of 80. It also increases the current reference number by one.
Example 2: Turning Off the Defer Write Attribute
CHGS36SRCA MBR(SFGRSRC) FILE(SDALIB/QS36SRC) REFNBR(*NEXT) RCDLEN(80) MAXDEV(5) DFRWRT(*NO)
This command changes source member SFGRSRC in the file QS36SRC in library SDALIB to allow up to five devices and to have a record length of 80. It also increases the current reference number by one and turns off the defer write attribute.
Top |
*ESCAPE Messages
Top |