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
 

 

FD section: Recording mode & Label Records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Fri Jan 18, 2008 2:09 pm    Post subject: FD section: Recording mode & Label Records
Reply with quote

I just want a detailed understanding and a much clearer picture of the following line of codes:

FD LCMAO
RECORDING MODE IS V
LABEL RECORDS ARE STANDARD
BLOCK CONTAINS 0 RECORDS
DATA RECORD IS LCMAO-REC.

Recording mode?
Label Records ?
Block ?

It's just that I am coding from scratch so I have to fully understand the following.

Thanks.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Jan 18, 2008 2:13 pm    Post subject: Reply to: FD section
Reply with quote

What about the manuals...
they are written by professionals who express things better than we do

click on the manuals link at to of the page ( white on gray background )
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Jan 18, 2008 3:17 pm    Post subject:
Reply with quote

Well, when you are coding from scratch then ..Manuals are alsways the best companion.

Code:
FD LCMAO

There is a file in Your COBOL program with the name LCMAO. And FD says to the COBOL compiler, File Description of file LCMAO is being defined here.

Code:
RECORDING MODE IS V

'V' says it's a VB (Variable Block) file. Other option I used was F for Fixed Block.

Code:
LABEL RECORDS ARE STANDARD
BLOCK CONTAINS 0 RECORDS

I'm on vacation ..so being bit lazy to go to Manuals..please check them.

Code:
DATA RECORD IS LCMAO-REC.

LCMAO-REC is the Layout of Your File.
Back to top
View user's profile Send private message
abhishekmdwivedi

New User


Joined: 22 Aug 2006
Posts: 95
Location: india

PostPosted: Fri Jan 18, 2008 3:34 pm    Post subject: Reply to: FD section
Reply with quote

hi,

You can get what you asked for, from the following link :
http://publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=/com.ibm.entcobol3.doc/rlfdermc.htm
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts Inserting records based on conditions vickey_dw DFSORT/ICETOOL 9 Wed Feb 22, 2017 1:33 pm


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