1747980 Members
3680 Online
108756 Solutions
New Discussion юеВ

Re: COBOL and XAB

 
SOLVED
Go to solution
John Gillings
Honored Contributor

Re: COBOL and XAB

Mick,

>and it worked!

Don't sound so surprised ;-)

MACRO32 isn't rocket science, it's just another programming language. In some ways it's simpler than most, but I suppose it's a bit cryptic to the uninitiated.

I've attached an annotated version of my code, with some explanation of the syntax and semantics of the language.

Hopefully it will make more sense...
A crucible of informative mistakes
Mick O'Brien
Advisor

Re: COBOL and XAB

Richard,

Thanks for the commented version - I had a quick peek and it makes more sense. I've printed it out and will try to understand a bit more - maybe tonight when there's a few quite moments during another upgrade.

Mick
Mick O'Brien
Advisor

Re: COBOL and XAB

Sorry John - I should have addressed that last reply to you and NOT Richard!!!
Mick O'Brien
Advisor

Re: COBOL and XAB

Richard/Hein/John,

Thanks for you responses to my original query - much more than I expected.

I've gone with one of the solutions (personal choice rather than 'best of breed') and will not divulge my choice as all solutions are viable.

I'll now close this 'thread'

Thanks and regards,
Mick
Mick O'Brien
Advisor

Re: COBOL and XAB

There are various solutions provided - the best being those that do NOT require the file to be opened in order the retrieve the file attributes. All responses awarded 10 points contain solutions - which is used is a personal choice.