Sample program A - PGMA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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
1 2 3 4 5 6 7 8 9 10 11 12 | h option (*nodebugio) actgrp (*NEW) dftactgrp (*no) d $mode s 1 c *entry plist c parm $mode c <b> call 'PGMA'</b> c <b> parm $mode </b> 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.