IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FD section: Recording mode & Label Records


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
madlui56

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Fri Jan 18, 2008 2:09 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jan 18, 2008 2:13 pm
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

Superior Member


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

PostPosted: Fri Jan 18, 2008 3:17 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
Search our Forums:

Back to Top