N/APosted on - 11/02/2011
I am using the software/Hardware AS/400 with a sub file which is load-all. I want to have a function key (e.g. F6) by which upon pressing this key, the data/sub file will be automatically be written into PDF. I want to be guided on how to do this. Thank you in advance for the solution.
Automatically write data/sub file into PDF via a function key using AS/400
You should know that in every programming or software that you use or built is not able to access the function keys in your program because they are specific function keys designed solely for windows.
You can only use them the way they are meant to be used within that particular software. So if you have the software built by you then just writes a pseudo code for it.
First specify the condition upon which the pdf file will be written if it’s true.
After that specify the format of the pdf.
Then give the location to store the newly made pdf.
Close the condition by closing the opened file too.
Now you can do this with any other key other than this to avoid any other problems later on during the execution of the program.