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
 
How to create a FB and FBA in jcl as well as cobol.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions
Author Message
keane

New User


Joined: 24 Jul 2006
Posts: 3

PostPosted: Thu Jan 03, 2008 8:17 pm    Post subject: How to create a FB and FBA in jcl as well as cobol.
Reply with quote

i am getting a proble with fb

see the below code

OUTFILE DD DSN=xxx.program.xxxx,
DISP=(NEW,CATLG,DELETE),
DCB=(RECFM=FB,LRECL=133,BLKSIZE=0),
UNIT=TSTDA,SPACE=(TRK,(001,001),RLSE)

In the above code RECFM is fb but it creats the outfile as FBA, i don't know how it is creating with FBA instead of FB, could you please explain
Back to top
View user's profile Send private message
References
PostPosted: Thu Jan 03, 2008 8:17 pm    Post subject: Re: How to create a FB and FBA in jcl as well as cobol. Reply with quote

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 853
Location: Virginia, USA

PostPosted: Thu Jan 03, 2008 9:30 pm    Post subject: Re: How to create a FB and FBA in jcl as well as cobol.
Reply with quote

keane wrote:
i am getting a proble with fb

see the below code

OUTFILE DD DSN=xxx.program.xxxx,
DISP=(NEW,CATLG,DELETE),
DCB=(RECFM=FB,LRECL=133,BLKSIZE=0),
UNIT=TSTDA,SPACE=(TRK,(001,001),RLSE)

In the above code RECFM is fb but it creats the outfile as FBA, i don't know how it is creating with FBA instead of FB, could you please explain


In ypur program you are doing a write after advancing.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions All times are GMT + 6 Hours
Page 1 of 1