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?
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 --
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.