Joined: 01 Feb 2007 Posts: 123 Location: Hyderabad
Hi,
In my below job when i use my input file of LRECL=80, it is running fine and displaying SORTOUT as well. But when i use another input file of LRECL=106 then i am getting MAXCC=16. In the spool SORTOUT of step030 or step040 is not displaying. It is giving the following error.
Code:
OPTION COPY
OPEN ERROR SORTIN
C5-K90007 C6-K90007 C7-K90000 C8-K90007 E7-K11698
END OF DFSORT
The job is to check whether it has same number of records in two input files.If record count is matching then it will compare records based on the key provided:
Joined: 01 Feb 2007 Posts: 123 Location: Hyderabad
Actually the job flow is as follows.
Suppose u run a job yesterday with one input file and generated a output file. And u made some changes in the program. So u again run the same program today with same input file but new output file.
So now u had two output files. One is yesterdays and todays.
Now first i want to compare these two output files whether they had same number of records and same set or records are there are not based on the key provided.
The first step010 counts number of records in both files and write to temp2 file when both had same number of records.
and in my temp 2 files it will be having COUNT OF RECORDS IN INPUT1 and INPUT2.
The second step give RC=4 when the temp2 is empty which means mismatch in count of records.
The third step STEP030 should display as follows:
**********COUNT NOT MATCH************
COUNT OF RECORDS IN INPUT1:20
COUNT OF RECORDS IN INPUT2:18
The fourth step STEP040 should display as follows:
**********COUNT MATCH************
COUNT OF RECORDS IN INPUT1:20
COUNT OF RECORDS IN INPUT2:20
Here where i am encountering the problem.
It is not giving SORTOUT in my spool when i give my input file of LRECL other than 80.
But my last step is executing and creating the output files.
It is not giving SORTOUT in my spool when i give my input file of LRECL other than 80.
You already said that,
You last post tells nothing useful to solve Your error,
the flow of the procedure is irrelevant.
ONLY THE RECORD LENGTHS OF THE INPUT FILES ARE
we already gave You the solution.
I will repeat the suggestion, in case You had not read my previous post
what is changing is the sequential dataset record lenght ( right ? )
in Your procedure/job_stream You are concatenating a partitioned dataset ahead of a sequential one ( right ?)
Joined: 01 Feb 2007 Posts: 123 Location: Hyderabad
Hi enrico-sorichetti,
Thanks for you reply.
I got it what you told. What ever u said is correct. We cannot concatenate datasets with different attributes.
So i made the following chagnes in my job.
My Partioned Data set LRECL is 80.
So in my first step when i am creating temp1 it is (MOD,PASS)
I changed it as follows