I am getting the file from Unix to Mainframes for every 15
minutes. The mainframe job get abended with bad records
coming from unix. I recovered that by deleting the bad data.
I need permenant solution how to fix the issue? The record
is getting characters in in first 9 positions which it
should not.
Please provide me the solution how to skip the records if
it finds the charcters in the first 9 positions.
K
Answer Posted / krish
Its having bad data in first 9 positions..
use sort omit condition to reject those records
OMIT COND = (STRATPOS,LENGTH,TYPE,REL OPERT,VALUE)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the function of the dd avgrec keyword in sms datasets?
Explain about ISPF/TSO Commands
how you can access an uncataloged dataset in a JCL?
what is the purpose of coding class parameter in job statement?
How can return codes be tested before execution of a job step?
What are the difference between jcl and jes?
How gdg are concatenated?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
is there any way to execute more than one proc in the same exec statement at the same time..?
Is there any command to check wether the ps file is in sorted order?
Is it possible to code instream data in a PROC?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
what are the types of abends that occur on job failure? And explain the possible causes of these
in ways data can be passed to a COBOL program from JCL?
Is automatic restart possible in jcl? If yes, how?