Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Why we cannot create the blank file with IEFBR14
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
Author Message
deshmukhec

New User


Joined: 23 Jul 2008
Posts: 7
Location: india

PostPosted: Wed Jul 30, 2008 2:52 pm    Post subject:
Reply with quote

many thanks for all instructive suggetions.

now what i tried is instead of using IEFBR14 i am creating/updating the dataset through Quikjob and it went fine.

again many thanks for your help icon_razz.gif

Quote:
i am deleting the below post: posthttp://ibmmainframes.com/viewtopic.php?t=32746&start=0&postdays=0&postorder=asc&highlight=quikjob
Back to top
View user's profile Send private message
References
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3509
Location: Brussels once more ...

PostPosted: Wed Jul 30, 2008 3:18 pm    Post subject:
Reply with quote

I suppose that to be certain you could always use a little PROC to setup the datasets, and ensure that they are correctly written to to stop any problems.

Here's one I prepared earlier
This one can also create PDS & PDSE datasets, works with GDG's too.

Code:
//*                                             
//SETFILE  PROC DSN=,RF=,LR=,UN=TRK,PR=1,SC=1,DR=
//SETFILE  EXEC PGM=IEBGENER                     
//SYSOUT   DD SYSOUT=*                           
//SYSPRINT DD SYSOUT=*                           
//SYSIN    DD DUMMY                             
//SYSUT1   DD DUMMY,RECFM=&RF.,LRECL=&LR         
//SYSUT2   DD DSN=&DSN.,                         
//            DISP=(,CATLG,DELETE),             
//            SPACE=(&UN.,(&PR.,&SC.&DR.)),     
//            RECFM=&RF.,LRECL=&LR               
//SETFILE  PEND                                 
//*                                             
//FILE01   EXEC SETFILE,                         
//              DSN='data.set.name',             
//              RF=FB,LR=80,DR=',44'             
//*                                             
//FILE02   EXEC SETFILE,                         
//              DSN='data.set.name(+1)',             
//              RF=FB,LR=80

FILE01 is a PDS with 44 directory blocks
FILE02 is a plain old PS file AND a GDS as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2