For Programmers: Free Programming Magazines  


Home > Archive > Cobol > December 2005 > Identifying whare a batch COBOL program is running









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Identifying whare a batch COBOL program is running
MDH

2005-12-07, 3:55 am

Can anyone describe how I might identify within a Cobol program, what
Mainframe LPar it is running on? I will consider identification of the
DB2 subsystem id if necessary (the prog is NOT DB2 currently, but the
SSID is unique over each LPar). In anticipation, thanks.

William M. Klein

2005-12-07, 6:55 pm

Check out the source code at:

http://mywebpages.comcast.net/gsf/tools/cob2sys.txt

--
Bill Klein
wmklein <at> ix.netcom.com
"MDH" <michael.head@directline.com> wrote in message
news:1133948646.171773.281550@f14g2000cwb.googlegroups.com...
> Can anyone describe how I might identify within a Cobol program, what
> Mainframe LPar it is running on? I will consider identification of the
> DB2 subsystem id if necessary (the prog is NOT DB2 currently, but the
> SSID is unique over each LPar). In anticipation, thanks.
>



MDH

2005-12-08, 7:55 am

Thank you, I'll give this a try.

MDH

2005-12-08, 7:55 am

Brilliant, I am indebted to you, this does exactly what it says on the
tin & furthermore exactly what I wanted.

Alistair

2005-12-10, 6:55 pm

I don't think that the cousins will understand the reference to
Ronseal's advert.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com