Joined: 14 Jan 2008 Posts: 2504 Location: Atlanta, Georgia, USA
I've been working on (and have completed) an Assembler sub-program, which is CALLED from Batch COBOL and returns the Number-of-Records and Record-Length of a given KSDS or ESDS fixed-length VSAM Dataset, via a SHOWCB Macro. It's intended to be used in a LINKAGE SECTION Dynamic Array (a true OCCURS DEPENDING ON), whose storage is allocated for loading by the Caller, reading each Dataset record into each array element, until EOF.
Unfortunately, I can't test it (my work environment is restricted).
Send me an offline PM if you'd like to test this sub-program and I'll send it to you....
I never received notification that a PM awaited, but when I just looked, it was, indeed, there in my inbox.
I have now downloaded the attachment and will get to work on testing at my earliest convenience.