Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Advatage of coding RECFM=F over RECFM=FB.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
arulraj_ponnusamy

New User


Joined: 20 Nov 2006
Posts: 1

PostPosted: Fri Jan 19, 2007 7:19 pm    Post subject: Advatage of coding RECFM=F over RECFM=FB.
Reply with quote

i have some doubts in jcl. can anyone solve it?

1.What is the advatage of coding RECFM=F over RECFM=FB.

2.How to by pass the step without cond parameter?

3.How can be determined if date contained in the header of a file is date current date?

4.There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Sat Jan 20, 2007 3:08 am    Post subject: Re: Advatage of coding RECFM=F over RECFM=FB.
Reply with quote

Quote:
1.What is the advatage of coding RECFM=F over RECFM=FB.


The biggest advantage of coding RECFM=F over RECFM=FB is for the DASD salesman. RECFM=F will require considerably more DASD than RECFM=FB. And require a longer time to write and read the data. The only reason I can think of for RECFM=F is if the predecessor job cannot handle blocked data.

Quote:
2.How to by pass the step without cond parameter?


Please search the forum, this has been answered many times.

Quote:
3.How can be determined if date contained in the header of a file is date current date?


Edit the header and look at it?

Quote:
4.There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?


Please tell us more about the application. Is this a cobol program reading the files?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jan 20, 2007 11:39 pm    Post subject:
Reply with quote

The only "advantage" I can think of is that the buffers will be smaller. I guess if I used my imagination I could come up with an app where it would come in handy.

"I have an app that requires 30,000 1 rec inputs to be open concurrently ...." icon_eek.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jan 21, 2007 8:50 am    Post subject:
Reply with quote

Hi Jack,

Sure hope i don't slip up and say that at the airport. . .

Is that app proprietary? I've gotta get me one of those. . . .
Back to top
View user's profile Send private message
EnjoyMF

New User


Joined: 27 May 2005
Posts: 88

PostPosted: Sun Jan 21, 2007 10:45 am    Post subject: Re: Advatage of coding RECFM=F over RECFM=FB.
Reply with quote

Hi Friend

1.There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?


If we know the files names and the number of files are fixed then we can concatenate the files ,need to concatenate with a Dummy file to handle the sutuation in case of 0 files

In general Assembler routines are used to open the files dynamically & write into the files by creating them dynamically in the program.

The same can be done through REXX .


Cheers..Prasad
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Jan 22, 2007 12:49 am    Post subject:
Reply with quote

Hi Dick,
Quote:
Sure hope i don't slip up and say that at the airport. . .

I'd just like to say that you're the 1st person to say that. I'd like to, but you're colser to the 1,000th. icon_confused.gif
Quote:
Is that app proprietary? I've gotta get me one of those. . . .

Nope, fortunately it's merely imaginary. icon_smile.gif

PS. But if you REALLY want one, I can put it together for you at a mere $1.00 per Input.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jan 22, 2007 5:01 am    Post subject:
Reply with quote

Hi Jack,

Good humor seem to fade away fairly quickly - bad jokes (especially those that fit us) follow us a long, long time. . . .

'Preciate the offer to provide the app, but if the price is only $1.00 per input, i'll look around until i find one that will hurt more to purchase as well as eat the machines. It's a shame that Windows apps don't run on the mainframe - quite a few of them appear to have used that design criteria icon_wink.gif
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Jan 22, 2007 5:42 am    Post subject:
Reply with quote

Hi Dick,

Dont get me wrong, it was a good joke. But it seems that jokes seem to fade with age and use.

I'll bet "Take my wife.... Please" was a good joke once.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Jan 22, 2007 5:48 am    Post subject:
Reply with quote

mmwife wrote:
I'll bet "Take my wife.... Please" was a good joke once.
A couple of years ago, I know that would have been my reply!! icon_lol.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jan 22, 2007 6:46 am    Post subject:
Reply with quote

No joke. . . . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm
No new posts SORT Format should be RECFM=VB,LRECL=350 senthamizh SYNCSORT 8 Fri Jan 15, 2016 8:20 pm
No new posts converting RECFM=U file to VB or FB file kenshin JCL & VSAM 6 Tue Oct 20, 2015 12:06 am
No new posts COBOL File Declaration for RECFM=VBS ... thinkmsk COBOL Programming 4 Fri Apr 03, 2015 3:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us