From: D J Stump To: All
While I am within an RPG/400 interactive program, how do I enable the Print (or Print Screen) key on a terminal (3477 IBM InfoWindow, for example)? Currently, I get a message telling me that the function key is not allowed. In the S/36 environment, this is not a problem. What am I missing ?
From: Ernie Malaga To: D J Stump
You're missing the PRINT keyword in the DDS of your display file. The PRINT keyword activates the Print key, and you can place it at the file level (before the first record definition) or at the record level (on each record in which you want to allow it). Unless you have special circumstances and need to prevent the Print key from working at certain panels, you'd be better off coding the PRINT keyword at the file level and being done with it.
You should not have to recompile the HLL programs that use your display files because you're not altering the screen buffer layout or adding fields or indicators. I haven't tested this, so there's a chance your HLL programs will have to be recompiled after all. Give it a try, though.
From: James Coolbaugh To: D J Stump
Ernie is correct on the PRINT keyword. And no, you will not have to recompile the programs. I have done this many times.