View Full Version : Free an Debug Opcodes of RPG
08-03-2002, 03:25 AM
Hi All, We are converting an existing application from RPG III to RPG IV , but I am not sure if RPG IV has any equivalent of opcodes FREE and DEBUG. It would be great help if anybody could point me in the right direction as to what shoudl be done to replace these OPcodes Aseem
08-06-2002, 11:04 AM
There's no replacement for the DEBUG opcode. Using a source-level debugger makes DEBUG less necessary. You might be able to use DSPLY to replace some DEBUG opcodes, if the thing being debugged is not a KLIST and is 52 bytes or less. But I wouldn't try to replace DEBUG with DSPLY. If the DEBUG opcodes were being used for non-debugging purposes, say to produce some printer file output, you will have to output the data directly to a printer file using WRITE or O specs. Regarding free, look here: http://archive.midrange.com/rpg400-l/200002/msg00168.html
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.