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


Please Help Members By Posting Answers For Below Questions

Is their any limit for data sets?

699


Explain how can an in-stream dataset be terminated?

692


What do you understand by the term notcat 2 – gs?

749


how you will the direct the data to spool using sysout option?

1757


What is multithreading in jcl?

936






i want to store 20 digits . how will u do it in cobol ?

858


Is automatic restart possible in jcl? If yes, how?

653


Matching Logic in Jcl not in cobol.Could any one please answer this question

3669


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2260


what is the compile process of cobol program expalin with code

1996


Differentiate between addressing mode and run mode.

610


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

741


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

905


Explain the function of //jcllib statement?

698


What do you know about jcl?

645