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

Execute a CLIST everytime you LOGON


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

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Dec 05, 2006 9:38 am
Reply with quote

Hi,
I have a clist which i want run everytime I logon.Anyone have any idea how to do this?
I am aware of there is something like "Logon Procedure" !!
But how to find out that ?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Dec 06, 2006 3:21 am
Reply with quote

Look at the JCL that runs whenever you logon to TSO. Most likely, it runs the TMP (IKJEFT01) program. See if a PARM=%somename statement is used. If it is, that is most likely the name of your logon procedure. If no PARM= is used, then look at the SYSTSIN DD statement and see what is called there. It most likely calls ISPSTART to start an ISPF session, and then calls a SELECT CMD(somename) to call your logon procedure.

It's in the called member that you'll need to make your changes. If you're lucky, maybe your Sysprogs have enabled a section where you can call your own library to execute at logon.
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Thu Dec 07, 2006 10:21 am
Reply with quote

Superk,
You are right !!
There is some procedure(say XX) which calls one program and IKJEFT01 is sent as parm to that program. I can also see ddnames SYSPROC & SYSHELP allocated to system default PDS's!

So if want to run one clist do i need to modify this PROC XX ??

I don't think i would be allowed. And also if i can modify the proc itself then why i would run clist to concatenate my PDS with system PDS's (the PDS with DDNAME SYSPROC)

Is there any way to run clist without touching this proc XX.???
Back to top
View user's profile Send private message
Ken_Fraser

New User


Joined: 02 Jan 2007
Posts: 5
Location: UK

PostPosted: Tue Jan 02, 2007 10:44 pm
Reply with quote

This is part of my logon screen. The Rexx routine MMDIAM runs everytime I logon. It resides in the site's common CLIST library.


Enter LOGON parameters below: RACF LOGON parameters:

Userid ===> ########

Password ===>

Procedure ===> PDF?TSU

Acct Nmbr ===> S

Size ===> 2048

Perform ===>

Command ===> mmdiam <<<<<< THIS REXX IS RUN WHEN I LOGON

Enter an 'S' before each option desired below:
-Nomail -Nonotice -Reconnect -OIDcard
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Fetch data from programs execute (dat... DB2 3
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
No new posts Evaluate variable to execute a jcl step JCL & VSAM 3
Search our Forums:

Back to Top