Cunninjoe
310 pts. | Jun 24 2009 5:53PM GMT
CALL PGM(PGM1) PARM(X’123F’) to call program with a parameter of + 123.
Yorkshireman
3200 pts. | Jun 25 2009 3:32PM GMT
On the basis that it will need running more than once - or testing by someone else, I usually just write a command, whose cpp is the program to be tested/run
cmd name = pgm name or something more snappy
cmd ‘apbjfr’
parm *DEC length 6 - etc
2 lines is enough code - plus 10 lines of comment
Mcl
2500 pts. | Jun 26 2009 6:27AM GMT
You put comments in your code?
Yeah, definately go with the command instead of calling the CL directly for command-line use..
regards
Mike






