View previous topic :: View next topic
|
Author |
Message |
Peter Medina
New User
Joined: 10 Oct 2007 Posts: 3 Location: Florida
|
|
|
|
Hi, I'm trying to use Le Debugger and I'm invoking my program via Clist.
The problem is I don't know how to pass the User=xxxx parm used in the jobcard. When I run the program in batch, it works because I'm able to code User=xxxx in the jobcard. How will I do that in a Clist. They use User=xxxx in my shop to allow MVS to access certain secure environment.
Thanks. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Where is the skeleton JCL stored - In the ISPSLIB concatenation.
BUT before changing anything please speak to the people responsible for maintaining these files as a change to suit you may not be one that every other user of the utility will appreciate. |
|
Back to top |
|
|
Peter Medina
New User
Joined: 10 Oct 2007 Posts: 3 Location: Florida
|
|
|
|
When I run the program in batch, the following is how the jobcard looks like:
//USERID JOB (DB2,TEST),'MQ TRIGGER MOD',NOTIFY=USERID,
// CLASS=T,
// MSGCLASS=T,
// MSGLEVEL=(1,1),
// TIME=1440,
// USER=#ABCD,
// REGION=0M
//*XEQ HNRTJES2
....
....
//STEP1 EXEC PGM=MYPROG,REGION=32M
//INPUT DSN=MYINPUT,DISP=SHR
BY PUTTING // USER=#ABCD IS HOW I GET AROUND SECURITY.
NOW I NEED TO TEST MYPROG USING THE LE DEBUGGER VIA A CLIST.
I RUN THE CLIST FROM MY OWN CLIST LIBRARY. THE CLIST IS ABLE TO ALLOCATE THE FILES AND EVEN RUN MYPROG WITH THE DEBUGGER; BUT IT WILL FAIL WHEN IT CALLS ANOTHER MODULE THAT IS RESTRICTED BECAUSE I DON'T KNOW HOW TO TELL THE CLIST ABOUT
USER=#ABCD
HERE IS THE CLIST SAMPLE:
CONTROL MSG CONLIST SYMLIST LIST
TSOLIB ACTIVATE DA('SYS1.EQAW.SEQAMOD' 'MY.LOADLIB' -
'SYS2.DB2.DEVC.SDSNLOAD' 'SYS1.IGY.SIGYCOMP' - 'SYS1.CEE.SCEELKED' 'SYS1.MQM.SCSQANLE' - 'SYS1.MQM.SCSQAUTH'
ALLOC DD(SYSOUT) DS('MY.SYSOUT') MOD
ALLOC DD(SYSPRINT) DA(*)
ALLOC DD(MYINPUT) DS('MYINPUT') SHR
ALLOC DD(ABNLIGNR) DA(*)
CALL 'MY.LOADLIB(TRSF201B)' 'Y/TEST'
FREE DD(MYINPUT)
FREE DD(SYSPRINT)
FREE DD(SYSOUT)
FREE DD(ABNLIGNR)
TSOLIB DEACTIVATE
I'M NOT USING ISPCLIB. I HOPE THE ABOVE IS CLEARER.
THANKS. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Since your JOB parameters are set when you logon I don't think you will be able to change them the way you want. Even in batch you wouldn't be able to change the user in the middle of a job stream. |
|
Back to top |
|
|
|