I am not very experienced in USS in z/OS

I have to set up a script that could dynamically determine

 

1.      What level of DB2 the user will be using (V10-V12)
2.      What level of Java they will need for that version of DB2

 

So when their app starts in USS, I need to setup steplib and a few other
paths so that the invoke the correct level of DB2 and Java

 

So far everything I found says it needs to be in the .profile

 

That is too late in the process. 

 

So it needs to work like this

 

UserA executes myjava.exe (( not perfect but just to demonstrate the logic)
which if it is on DB2 subsystem DB2A then DSNALOAD or DB2B then DB2BLOAD

 

The process needs to know if they will be using DB2 V10 or V11 (for
example), then setup the STEPLIB for DSNV10 or DSNV11 load libs.  Along with
the correct version of Java for that DB2.

 

I cannot prompt the user for this information.

 

Is there any way to do this easily or is this something that will be a
challenge to do

 

Thank you 

 

Lizette


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to