Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello and welcome to the forum,
Well, you're not off to a very good start. . .
For one thing, many of our contributors cannot download attachments. The machine i'm using tonight has no MS-Office products installed, so i can't see your attahcment. It is best to use copy/paste (and the "Code" tag for things that need to preserve slignment) to post information you want people to use to help you.
You were given a suggestion on where to look to work on your request. Did you look there? Did you use the info presented there? If not, why not? You didn't mention if that was or was not what you are looking for.
It is very bad manners to pester for replies when you only wait 1 hour.
Your posted data does not match the "rules" you posted. If you re-post properly, there may be more useful replies. . .
File B This has the LREC – 971, record format – FB. same position as in file A (15-47)
00200752008-10-302008-10-27124101
00200812008-11-012008-10-27125033
00200912008-10-222008-10-27130116
00201072008-11-012008-10-27140930
00201102008-10-212008-10-27141452
For eg: if the details are available in File A for the record '00200752008-10-302008-10-27124101' [KEY -> 15-33] then the whole record needs to be
fetched from File A and should get write to output fileC as available in File A.
I had asked for correct syntax bcoz i got the MAX 12 error message on executing my job. please refer the err description.
Code:
SPLICE FROM(T1) TO(OUT) ON(15,33,CH) WITH(902,1)
ICE627I 0 DFSORT CALL 0003 FOR SORT FROM T1 TO OUT COMPLETED
ICE628I 0 RECORD COUNT: 000000000045461
ICE638I 0 NUMBER OF RECORDS RESULTING FROM CRITERIA: 000000000005052
ICE602I 0 OPERATION RETURN CODE: 00
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
Deepa_cognizant,
The error you are getting is because you did not have a continuation parm on your splice statement. However at this point it is useless as you have a working solution with less number of passes.