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: 10210
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 Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm


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