View previous topic :: View next topic
|
Author |
Message |
Pra1895
New User
Joined: 13 Feb 2008 Posts: 3 Location: Pune
|
|
|
|
Hello Everyone,
I have a query here regarding allocation of the PDS to SYSPROC at the time of logon to mainframe session.
In my previous Mainframe version I have created
USERID.PDS.CLIST PDS in which I created a member @LOGON which was doing a allocation of my REXX.PDS to sysproc at the the time of login in to mainframe sesion.
The code looks like
000100 WRITE ******** W E L C O M E U S E R ************
000200 TSOPCNT 'EXT.REXX.TOOLS.PDS' BEFORE(SYSPROC)
Note: It does not contain any /* REXX */ indentifier.
Now I am using some other version of the mainframe and the same code is not working on this version.
It is giving me error which says
COMMAND TSOPCNT NOT FOUND OR REXX IDENTIFIER IS MISSING+
SUPPLY '/* REXX */' AS THE FIRST RECORD TO EXECUTE AS A REXX EXEC OR, FOR AN EXPLICIT EXEC, SUPPLY THE EXEC KEYWORD ON THE EXEC COMMAND
***
The first part of the code works fine for me and displays message
************* W E L C O M E U S E R ************
This code can be run using exec command in front of member name i.e. infront of @Logon member in the PDS.
When I give the rexx identifier in the code it gives me error
5 +++ TSOPCNT 'EXT.REXX.TOOLS.PDS' BEFORE(SYSPROC)
Error running @LOGON, line 5: Routine not found
***
So by any way this is not working for me. So can you please provide me a solution which does the work for me to allocate my PDS to SYSPROC at the time of login in to mainframe |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
COMMAND TSOPCNT NOT FOUND
5 +++ TSOPCNT 'EXT.REXX.TOOLS.PDS' BEFORE(SYSPROC)
|
both messages hint that the TSOPCNT command is not present in Your new environment...
talk to Your tutor |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Pra1895
New User
Joined: 13 Feb 2008 Posts: 3 Location: Pune
|
|
|
|
Thanks for promt response. But still my issue remains same.
My main concerns here is that I wanted to allocate my PDS at the time of LOGIN to mainframe session. So later I can avoid allocating PDS manually everytime I login to mainframe session.
Any pointers regarding this would be highly appreciated. Any other alternative to do this task will also be helpful. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Did you not read my post and review that previous similar topic? |
|
Back to top |
|
|
Pra1895
New User
Joined: 13 Feb 2008 Posts: 3 Location: Pune
|
|
|
|
Yes sir I have gone thru them all and tried executing them. They all are working fine. But not serving my purpose of getting allocated it to SYSPROC at the time of login/permenantly. The call bpxwdyn is allocating it for the session time only. Once we logoff and login again to session it gets deallocated.
Also in your post you have said something about editing startup JCLs can you please tell more about the same. This would be additional info for me but I think so I will be able to do that because of the access problems. If it works then well and good for me. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
try to get a better grasp of the terminology...
in both environment You execute a user logon clist,
why do You care about what happens at logoff !?!
as long as at logon time You are able to allocate all You need ?
since as You say You changed mainframe version most probably the setup was done differently,
and You will have to live with the new standard..
as far as modifying the existing setup, ask Your tutor/support person,
most organizations frown upon students modifying system libraries |
|
Back to top |
|
|
|