Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

op code 'DUMP'

Status
Not open for further replies.

TracyV

Programmer
Nov 24, 2003
35
0
0
US
I came across an op code i've never seen before in an RPG program. The op code is 'DUMP'. Anyone know anything about this or why you would want to use it?
 
nevermind, i found it.....an old RPGII debug op code
 
TracyV,
Indeed the DUMP op code is NOT an "old" op code behind the times and can be even nowadays very interesting for RPGIV debugging purposes.
H-Spec option DEBUG(*YES) and opcode DUMP is how you get a dump of all variables within a program or a module.
From V5R1+, DEBUG(*YES) isn't necessary for the DUMP op code to produce a dump as you can just code DUMP(A), (A for Always).
See WebSphere Development Studio - ILE RPG Reference p.583+
HTH -- Philippe --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top