Organization . . . : PS
Record format . . . : VB
Record length . . . : 1036
Block size . . . . : 27998
Although FILEOT1 is having similar structure to FILEIN when it is created, but the other 2 output files viz. FILEOT2 & FILEOT3 are having different structure and show following information :
Code:
Record format . . . : ??????
Record length . . . : 0
Block size . . . . : 0
Program used in the step is simple EZTrieve program to generate reports.
What is causing FILEOT2 and FILEOT3 to have different charact. than FILEIN when FILEOT1 is getting created in correct way with characterst. similar to FILEIN ?
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Tue Jun 22, 2004 6:15 am Post subject:
Naveen,
Did the job complete successfully ? If so the check the file declarations of the FILEOT2 and FILEOT3 in the pgm. You can also try using the LIKE parameter instead of the DCB parm
Joined: 15 May 2004 Posts: 17 Topics: 2 Location: Mumbai , India
Posted: Tue Jun 22, 2004 6:51 am Post subject:
A wild guess ... I don't know which one overrides the other in some cases ... but could u please check what is the lrecl u have given in the program ??? ... is it same as FILEIN ? ... are u getting the same statistics as given in the program ??? ... if so then I suggest u have to correct the program ... _________________ Thanks and Regards,
Souvik Upadhyay
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Tue Jun 22, 2004 10:37 am Post subject:
Naveen,
Quote:
No the job did not complete succesfully
That explains why the dcb parameters are off. Your pgm might have even opened the datasets and since the pgm ended in error , the datasets are having iinvalid dcb parameters
Naveen Since you are already specifying the File properties in the pgm , you don't have to code DCB parameters in the JCL
Hi Kolusu,
Just of curiousity..I want to ask you one query.Is it no that the DCB parameters in the JCL override those in the program or is it vice-versa?
Thanks and Regards
Cobcurious
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum