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 / krish

Its having bad data in first 9 positions..
use sort omit condition to reject those records

OMIT COND = (STRATPOS,LENGTH,TYPE,REL OPERT,VALUE)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2172


What are the 4 fields in dd statement?

744


What is Cataloged Procedures?

715


Explain how can the attributes of one sms dataset be copied to another dataset?

705


what is SOC4 error?

740






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

628


What do you understand by the term job time – out and how can you overcome that?

605


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 is use of restart and how to use it?

771


What is the purpose of disp parameter?

645


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

672


Explain how can a jobs execution priority be modified?

742


What does a disposition of (MOD,DELETE,DELETE) mean ?

668


What is the function of job statement in jcl?

636


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1769