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
A dd statement consists of 4 fields. Name them?
a dd statement has 2 types of parameters. Name them?
What parameter directs the output of the job log dataset?
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) ?
What is notcat 2 - gs?
What is the function of dd name parameter with a 2 part structure; audit.report?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
How to submit a jcl from cics?
how do you access an uncataloged dataset in a jcl?
How can return codes be tested before execution of a job step?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
how JCL works?
What is one line to pass PARM from JCL to COBOL?
whats the diff bw the evaluate also and and?
What is the maximum length of a single line of jcl?