View previous topic :: View next topic
|
Author |
Message |
Geethi
New User
Joined: 03 Mar 2007 Posts: 10 Location: US
|
|
|
|
Hi,
Does anybody have a tool for calculating the record length of a fixed/variable length COBOL file, if the layout is specified ? I know one of my friends had written a script in VB; but unfortunately he's not reachable now. (and I'm not familiar in VB to code) If somebody have the same, please post it. (when the layout is pretty big, adding the length of each field is time-consuming)
Thanks in advance,
Geethi |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Put the layout in a very short COBOL program's WS and let the compiler compute it for you..... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You may also get the length of a record using file-aid if your site has the product installed.
If the file has already been created, you can get the length from the existing file. |
|
Back to top |
|
|
|