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
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What are the 4 fields in dd statement?
What is Cataloged Procedures?
Explain how can the attributes of one sms dataset be copied to another dataset?
what is SOC4 error?
Explain how can values be passed from the job stream to an executable program?
What do you understand by the term job time – out and how can you overcome that?
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?
What is use of restart and how to use it?
What is the purpose of disp parameter?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Explain how can a jobs execution priority be modified?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What is the function of job statement in jcl?
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) ?