IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Passing Jobcard information via Clist


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Peter Medina

New User


Joined: 10 Oct 2007
Posts: 3
Location: Florida

PostPosted: Wed Oct 10, 2007 7:27 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Oct 10, 2007 9:20 pm
Reply with quote

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
View user's profile Send private message
Peter Medina

New User


Joined: 10 Oct 2007
Posts: 3
Location: Florida

PostPosted: Thu Oct 11, 2007 12:17 am
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Oct 11, 2007 12:25 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Passing SYSPRINT to Invoked Program PL/I & Assembler 9
No new posts Passing parm from JCL to Assembler, b... PL/I & Assembler 2
Search our Forums:

Back to Top