Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Passing Jobcard information via Clist

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Passing Jobcard information via Clist
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: 8593
Location: Back in jolly old England

PostPosted: Wed Oct 10, 2007 9:20 pm    Post subject:
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    Post subject: Reply to: Passing Jobcard information via Clist
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Information About the Equifax Securit... Rohit Umarjikar PC Guides & IT News 6 Mon Sep 11, 2017 9:10 pm
No new posts retrieving envelope information out o... VintageReceiver TSO/ISPF 6 Thu Aug 10, 2017 8:13 pm
No new posts Calling CLIST through job and REXX Sahasra K CLIST & REXX 19 Tue Aug 01, 2017 10:25 am
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us