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 / aiswarya
Sort the file Using syncsort and skip the first 9
characeters using SKIPREC
//SYSIN DD *
SORT FILEDS=COPY
SKIPREC=N
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
In sms datasets, what is the function of the dd avgrec keyword?
Is automatic restart possible in jcl? If yes, how?
Suppose I have five jobs to do. But I want to hold one?
Is it possible to left uncode disp? If yes, how?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
what is the purpose of coding notify parameter in job statement?
Name the statement which can be used to send data to another mvs jes3 node?
Can we call instream to catalog and catalog to instream?
Where can program checkpoints be stored for use in a restart?
Are there any set of rules for the names of the steps used in a job?
How can the attributes of one sms dataset be copied to another dataset?
Explain the function of //cntl statement?
What does a disposition of (new,catlg,keep) for a dsn mean?