Subfile Command Links will go to the IBM Site for a more detail definition
Link to Professional Standards
AS/400
Standard Procedures
Subfile Commands and Notes
Subfile Keywords
Please Visit
Required
A R SFDxxxB SFLCTL(SFDxxxA)
A SFLSIZ(0016)
A SFLPAG(0015)
A xx SFLDSP
A SFLDSPCTL
Copy and Paste Data (Trust the spacing it will align correctly)
Triple click on the A for all the required keywords
|
Optional
A Nxx SFLCLR
A xx SFLDLT
A SFLDROP(CF03)
A xx SFLEND
* only required with I/P from program
A SFLENTER(CF01)
My notes for Subfile keywords. Feel free to use but remember these are only notes
A SFLFOLD(CF04)
SFLINZ - Subfile Initialize ***
A xx SFLINZ
A SFLLIN(x)
A 75 SFLMSG('MESSAGE 75')
A 75 SFLMSGID(USR0006 *LIBL/UMSG001 +
A 75 &MORETXT)
SFLPGMQ - Subfile Program Message Queue
A FLDxxx SFLPGMQ(10)
A FLDyyy SFLPGMQ(276)
A @PLACE 4 0H SFLRCDNBR
SFLRNA - Subfile Records not Active ***
A SFLRNA
A ROLVAL 4S 0B 1 47SFLROLVAL
** Optional Keywords ignored If SFLSIZ - SFLPAG
*** Cannot use if the record format contains a field selection
A R URECORD USRDFN
A R ARECORD ASSUME
Cannot use in the Control Record Format
WINDOW - Create Window on Display
A R WINDOWx WINDOW(4 21 9 30 *NORSTCSR)
A WDWBORDER((*COLOR RED) +
A (*DSPATR RI))
A xx RMVWDW
A xx USRRSTDSP
A SFLCSRRRN(&@REC)
A ROLLUP(61)
A N64 ROLLDOWN(52 'Roll Down')
A xx SFLNXTCHG
A ZZ 10A B 5 5SFLCSRPRG
A FLDKY1 SFLMSGKEY
A R RCDMSG SFL SFLMSGRCD(3)