View previous topic :: View next topic
|
Author |
Message |
shivsingla Warnings : 1 New User
Joined: 14 Jul 2006 Posts: 15 Location: New Delhi
|
|
|
|
Hi
i am trying to decalre the variable length file in cobol from fixed file. but i am getting lot of problem.
Anyone tell me how to declare the variable length file. my fixed length record is 1124.
Thanks in advance. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Is the variable-length file a 2nd-File or are you attempting to define a fixed-length file as variable-length?
As far as the COBOL definition of a variable-length file, you will find examples of this in the COBOL forum, dating back many years.
The definition can also be found in your applicable COBOL manual.
Have you Googled this?
Bill |
|
Back to top |
|
|
kalhor
New User
Joined: 20 May 2007 Posts: 31 Location: iran
|
|
|
|
Hi,
You can find it in "DB2-Appl. Programming and SQL Guide" book |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Huh
Why/how is this DB2 related?
Bill |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
At the top of the page is a link to "IBM Manuals". The first set of material is COBOL. Pick the Language Reference for your version of cobol and search (the flashlight/tubelight near the top left) for "recording mode".
If you find something that is not clear, post what you found and your doubt about it.
Someone will be able to clarify. |
|
Back to top |
|
|
|