Sample program A - PGMA
h option(*nodebugio) actgrp(*CALLER) dftactgrp(*no)
d $mode s 1
c *entry plist
c parm $mode
c if $mode = *blanks
c call 'PGMB'
c parm 'Y' $mode
c endif
c eval *inlr = *on
c return
Sample program B - PGMB
h option(*nodebugio) actgrp(*NEW) dftactgrp(*no)
d $mode s 1
c *entry plist
c parm $mode
c call 'PGMA'
c parm $mode
c eval *inlr = *on
c return
You can call the program A from the command line to TEST ...
CALL PGM(PGMA) PARM(' ')
No comments:
Post a Comment
NO JUNK, Please try to keep this clean and related to the topic at hand.
Comments are for users to ask questions, collaborate or improve on existing.