Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to submit a REXX, when Logging into Mainframe.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Mon Jun 21, 2010 12:47 pm    Post subject: How to submit a REXX, when Logging into Mainframe.
Reply with quote

Hi All,

I have a requirement to submit a REXX program, when I logon to mainframe.

In my earlier environment, there was on PDS "USERID.TSOUTIL.CLIST", where we need to put whatever, needed to be executed at time of logon, but in my current environment, that seems to be missing, from which I can conclude, that was site specific.

So the question is, can i create a PDS similar to that, in my new site, and if yes, what i need to do, to make it run at logon.

If the answer is no, is there any other way to submit a rexx on logon.
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: Mon Jun 21, 2010 2:28 pm    Post subject:
Reply with quote

Please learn to use the correct terminology. What do you mean by submit a REXX, to submit a batch job, or to execute a REXX.

You might know what you want, be we certainly do not.
Back to top
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Mon Jun 21, 2010 2:33 pm    Post subject: Reply to: How to submit a REXX, when Logging into Mainframe.
Reply with quote

sorry for using the wrong terminology.......

its definately execute a rexx.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jun 21, 2010 2:54 pm    Post subject:
Reply with quote

you could do that in your TSO LOGON Proc, change the execute statement by adding a PARM:

PARM='EXEC ''hlq.clist(tsologon)'''

or in your TSO logon screen.

http://publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zconcepts/zconc_whatistso.htm
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 21, 2010 8:08 pm    Post subject:
Reply with quote

Hello,

Many organizations do not allow changes to the standard logon process.

Suggest you make sure this is allowed in your new organization - before experimenting.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jun 21, 2010 9:51 pm    Post subject:
Reply with quote

Quote:

Many organizations do not allow changes to the standard logon process.

Of course Dick, but that wasnt the issue. The TS wants to run something at logon time, so if (s)he can do that by playing with with logon procs,
what do we care?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 21, 2010 10:09 pm    Post subject:
Reply with quote

Hi Peter,

Quote:
what do we care?
I have no problem with customized logon processes. . . I do have a problem with people getting disciplined for something innocent. . .

People who have only worked for one organization or 2 may not be aware that some organizations have very strict penalties for deviating from the standards.

If you are new to an organization, it is extremely unfortunate to start off "on the wrong foot" . . .
Back to top
View user's profile Send private message
Victor Niu

New User


Joined: 11 Mar 2010
Posts: 59
Location: China,Shanghai

PostPosted: Tue Jun 22, 2010 8:18 am    Post subject:
Reply with quote

"on the wrong foot",the disadvantage is you will have bad habits;the advantage is you can learn more.

I'm so amazed that you have authorization to change logon procedure...
Back to top
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Tue Jun 22, 2010 11:58 am    Post subject: Reply to: How to submit a REXX, when Logging into Mainframe.
Reply with quote

HI Peter,

Thanks for the answer.

As for changing the logon script, obviously i don't have the authorization to change.

As for the second option, we don't use TSO/E logon screen. In our logon screen, we can just enter Mainframe ID & Password.

I guess, being a developer I can't do anything else, other that finding out all time mysteriously hidden site administrator and talk to him.

Thanks for replies.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jun 22, 2010 1:21 pm    Post subject: Re: Reply to: How to submit a REXX, when Logging into Mainfr
Reply with quote

saurabh39 wrote:
I guess, being a developer I can't do anything else, other that finding out all time mysteriously hidden site administrator and talk to him.
Most of the time you just don't need it. Site-administrator (and also the Storage-admins icon_biggrin.gif) have invested a lot of time of there to get a correct set-up for you. Most of the time, we can create some "in-house" tools, short-cuts to complete our daily work but I alos strongly suggest that "log-in" procedures should not be touched.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jun 22, 2010 1:35 pm    Post subject:
Reply with quote

every site that I have worked, (and it has been a few)
had documented procedures (and I don't mean procs)
in place on what is and what is not ok.

As a computer user, I have the obligation to inform myself of the
documented procedures, and follow the guidelines.

Considering the number of questions on this (and other) board(s)
about this and similar topics,
it is obvious that people do not make any effort to read the documentation
supplied by site administrators.

publishing site standards is usually the second thing that a site admin group does.
the first, obviously, is to RACF everything to death. icon_wink.gif
Back to top
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Tue Jun 22, 2010 4:04 pm    Post subject: Reply to: How to submit a REXX, when Logging into Mainframe.
Reply with quote

HI,

Quote:
every site that I have worked, (and it has been a few)
had documented procedures (and I don't mean procs)
in place on what is and what is not ok


In my site, I am still to lay my hands on those highly valued documents. 2 Months into system...those are still elusive to me......partly because i am working from offshore...and my system is not very systematic. Unlike my previous project....where the system admin were just a mail away...and also they had a centralized LN database for all documents......but in current project that is not the case.........but i guess even that is blessing in disguise...bcoz i never saw the logon proc in my previous project....but here i was forced to look for logon proc and see what all is there......
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jun 22, 2010 8:40 pm    Post subject:
Reply with quote

Hello,

Quote:
I have a requirement to submit a REXX program, when I logon to mainframe.
Something that may be less than elegant would be to simply execute this each time you log on. . .

If you are permitted to run "your own" rexx code, this could do what you want.
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
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us