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 acct parameter mandatory?

764


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

978


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

718


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

633


What is the function of //jcllib statement?

810






Explain dfsort utility?

675


What parameter directs the output of the job log dataset?

766


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

612


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

2268


What are the parameters that are used in creating a gdg?

741


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5062


Explain how can values be passed from the job stream to an executable program?

629


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:

3531


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

658


How to alter the parameters for the existing gdg?

714