On Wed, Jun 22, 2011 at 12:55 PM, Steve Comstock
<[email protected]>wrote:

> On 6/22/2011 11:36 AM, Daniel Rose wrote:
>
>> I had a COBOL programmer ask me how they could get the LPAR name, SYSNAME,
>> or SMFSID from a COBOL program.  I could not find a LE Function that would
>> do that.  So, a co-worker located a sample program that chases controls to
>> get that information.
>>
>> Does anybody know of any LE Functions or a cleaner way to do this.
>>
>> BTW, the programmer does not want to add a SORT step before the COBOL
>> program nor do they want to change the execution JCL.  Hence the
>> restriction
>> of only obtaining this from inside the COBOL program.
>>
>
> I got to wondering about this. Your programmer does know that
> COBOL stands for COmmon Business Oriented Language, right? It
> just doesn't seem that obtaining an LPAR name or SMFSID is in
> the same ballpark as doing accounting or inventory or other
> business applications. Why not use a tool designed to obtain
> this kind of information?
>

How is that information going to be used?

Can't they use a JCL parm and let the scheduler populate it?

>
>
> --
>
> Kind regards,
>
> -Steve Comstock
> The Trainer's Friend, Inc.
>
> 303-393-8716
> http://www.trainersfriend.com
>
> * To get a good Return on your Investment, first make an investment!
>  + Training your people is an excellent investment
>
> * Try our new tool for calculating your Return On Investment
>    for training dollars at
>  
> http://www.trainersfriend.com/**ROI/roi.html<http://www.trainersfriend.com/ROI/roi.html>
>
> ------------------------------**------------------------------**----------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at 
> http://bama.ua.edu/archives/**ibm-main.html<http://bama.ua.edu/archives/ibm-main.html>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to