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
what is use of space parameter in dd statement?
Is their any limit for data sets?
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 is one line to pass PARM from JCL to COBOL?
How does jcl act on a cobol code?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Explain the function of the steplib dd statement?
Name the statement which can be used to send data to another mvs jes3 node?
What is timing concept in mainframe?
Brief description of inline procedure of jcl.
What are hierarchy levels in jcl?
Is automatic restart possible in jcl?
Which statement is used to identify the private libraries in job?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
what is DSN parameter and DISP parameter is used for?