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 / amy
TRY OUT SORT UTILITY---
//STEP1 EXEC PGM=SORT
//SORTIN DD DSN=INPUT.FROM.UNIX
//SORTOUT DD DSN=OUTPUT.AT.MAINFRM.
//SORTWRK DD ------
//SYSIN DD *
SORT FIELDS=COPY
INREC FIELDS=(1:10,71)
/*
//* ASSUMING LRECL=80.OTHERWISE CHANGE 71 TO (LRECL-9)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain the function of //jcllib statement?
Does jcl support automatic restart?
In job processing, what happens in conversion stage?
which parameter is used to check the syntax of a jcl without executing it?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
Explain the function of a dd statement?
what are JCLLIB and STEPLIB in JCL?
Explain the purpose of dd dummy statement?
Explain how can values be passed from the job stream to an executable program?
what is DSN parameter and DISP parameter is used for?
Which dd parameters are required?
Which statement is used to identify the private libraries in job?
what is use of disp parameter in dd statement?
How do you access an uncatalogued dataset in a jcl?
How to submit jcl through a cobol program?