How to know the file which i am trying to copy might take more than 15mins or long time to copy in AS400?

53 Views Asked by At

I am trying to copy a physical file to a stream file and than to excel sheet, generally to copy a file more than 5000 records it is taking around 5mins to do the process. I want to submit this copying process in batch, now the problem is how can i tell the program to submit the process in batch if it takes long time to copy.

1

There are 1 best solutions below

0
Mike On

You probably need to familiarize yourself with the SBMJOB command. This will run a program in a new non-interactive job rather than on your interactive screen. It is often useful to write a short CL program to call SBMJOB so that you have a record of what parameters you want to send it. You can then just CALL the CL program from the command line.