View previous topic :: View next topic
|
Author |
Message |
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Well, when you are coding from scratch then ..Manuals are alsways the best companion.
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 |
|
|
abhishekmdwivedi
New User
Joined: 22 Aug 2006 Posts: 95 Location: india
|
|
Back to top |
|
|
|