Spool file number as 400




















The spool file number is 1. The parameter values must be in uppercase and there must be a space between the single quotation marks. Following are the parts to the parameter list: o The character spool file name. Allow for 10 characters for each name. Allow 10 characters each for the job name and user, and 6 positions for the job number. Use the hexadecimal representation as in the example.

Make sure a space is inserted after the previous single quotation mark and the X''. To restore the spool file from the database follow the example and instructions below.

The parameter values must be in uppercase, and there must be a space between the quotes. Following are the parts to the parameter list: o character database file and library.

If you are going to use these APIs on a regular basis, a command interface would be more convenient. Office: webm The rpg-program creates more than one spoolfile, and I really want the number of the latest created spoolfile in this program.

Ok, and if I want the number of the second last spoolfile created in this program Check the RPG manuals for detailed information on the exact subfield locations within the file information structure.

Using the information supplied here is at your own risk and responsibility. Greetings -- Helmut Salzer. An entry is then generated by the system for each new spoolfile that arrives in Ready state on the queue, with job and spool file details.

This method is fine if the output queue is only used by your program while you're collecting your info, but you would need to sift out files created by other jobs if they spool to the same queue. The data queue needs to be char long or more. I can email you examples of both techniques in action, once I've hunted out the code at work, if you don't get a more complete answer first.

HTH Regards, Martin -- mar For more information, contact me via Email or phone, or take a look at our Web Site. Reply to author.



0コメント

  • 1000 / 1000