Automatically write data/sub file into PDF via a function key using AS/400

Asked By 0 points N/A Posted on -
qa-featured

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.

SHARE
Answered By 55 points N/A #100253

Automatically write data/sub file into PDF via a function key using AS/400

qa-featured

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.

  1. 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.
  2. First specify the condition upon which the pdf file will be written if it’s true.
  3. After that specify the format of the pdf.
  4. Then give the location to store the newly made pdf.
  5. 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.

Related Questions