I have a RPGLE program (PGMR1) which is being called in a batch Job (JOB1). The RPGLE reads all records from an input file INPF1 (having 5 fields ? INF1 ? INF5 ? all character fields) and writes to an output file (having 5 fields ? INF1 ? INF5 ? all numeric fields) depending on some conditions.
I am moving the input file character data to output file numeric data.
Now if any of the input file field contains junk value then the RPGLE program fails and the job goes to message wait.
My question is as a support team member how can I handle this job (without killing it) so that it ignores the erroneous record and processes all other records properly??
Thanks in Advance....
I am moving the input file character data to output file numeric data.
Now if any of the input file field contains junk value then the RPGLE program fails and the job goes to message wait.
My question is as a support team member how can I handle this job (without killing it) so that it ignores the erroneous record and processes all other records properly??
Thanks in Advance....
Comment