i have two files A and B. A is input file and B is output file. B will have the last processed sequence number. So the next time when we revieve A file it will have new sequence number and that to it should be 1 greater then the last processed file. we need to check this condition.
The files are of FB.
LRECL of A file is 161 and LRECL for B file is 60.
Position to check for A file is 70 to 74 and it is also numeric field and A file is having one header one trailer.
Position to check from B file is 11 to 14 and it is numeric field. B file is having only one record.
Ok, now I realize I don't know which record in fileA has the numeric field you want to check in positions 70-73. Is it the last record in the file or another record? Does that record have an identifier (e.g. C'TRL' in positions 1-3).
Actually, could you please show an example of the records in each input file for the case where the check is true and the case where the check is false.
Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
But also I am getting value in Sortout as TARG,+816C.
You are aware that 816C is 8163 with a positive sign.
SyncSort for z/OS 1.3 Programmer’s Guide wrote:
The documentation accompanying WER999A varies with the error involved. It may consist of a standard system dump (SYSUDUMP or SYSABEND) and/or a SyncSort-generated SNAP dump. The SyncSort SNAP is formatted very much like a SYSUDUMP. In debugging the SNAP, care must be taken to avoid reliance on the PSW AT ENTRY TO SNAP and the general registers. (A SNAP dump produced through the SyncSort DEBUG PARM or with a W-abend (i.e., WER999A UNSUCCESSFUL SORT xxxW) is only useful to a sort analyst at SyncSort for z/OS Product Services.
The job I posted works fine with DFSORT as I coded it. The job you posted is NOT the same as the job I posted and you are using Syncsort, not DFSORT. I'm a DFSORT developer. DFSORT and Syncsort are competitive products. I'm happy to answer questions on DFSORT and DFSORT's ICETOOL, but I don't answer questions on Syncsort.