MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LOGON REXX / CLIST

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
ollo
Beginner


Joined: 18 Feb 2005
Posts: 4
Topics: 2

PostPosted: Thu Jul 12, 2007 7:11 am    Post subject: LOGON REXX / CLIST Reply with quote

Hello,

i want to put the ISPF-Start Rexx to Dataset that is allocated
with SYSEXEC

LOGON EXEC PGM=IKJEFT01,
DYNAMNBR=200,
REGION=0M,
TIME=1440,
PARM='%ISPF'
SYSEXEC DD DISP=SHR,DSN=SYS3.ISPF.REXX
SYSPROC DD DISP=SHR,DSN=SYS3.ISPF.VHVCLIB

In the %ISPF Rexx I want to free the allocation with
FREE FILE(SYSEXEC) and then realloc with

rexxdsn = sysvar(sysuid) !! ".PR.REXX"
"ALLOC DD(SYSEXEC) REUSE SHR DSN('"rexxdsn"'",
" 'SYS3.ISPF.REXX')"

I get the error at the FREE, that the SYSEXEC is already in use.
When i concatinate it in the logon procedure

SYSPROC DD DISP=SHR,DSN=SYS3.ISPF.REXX
DD DISP=SHR,DSN=SYS3.ISPF.VHVCLIB

the free works.

What is my false?

Thx
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Jul 12, 2007 8:09 am    Post subject: Reply with quote

So you are executing a REXX (found in the SYSEXEC concatenation) that will FREE the concatenation and reallocate it? Perhaps that is the problem. The concatenation has open datasets?

When you run the REXX from SYSPROC there is no problem, correct?
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
ollo
Beginner


Joined: 18 Feb 2005
Posts: 4
Topics: 2

PostPosted: Thu Jul 12, 2007 8:24 am    Post subject: Reply with quote

the %ISPF-REXX is the only Member in the pds.

the different is the DD - name of the allocation

don't work:

SYSEXEC DD DISP=SHR,DSN=SYS3.ISPF.REXX

work:

SYSPROC DD DISP=SHR,DSN=SYS3.ISPF.REXX


I think with SYSEXEC, something make an enqueue on the %ISPF REXX, so that it is in use.

But why is there are no enqueue with SYSPROC
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Jul 12, 2007 3:53 pm    Post subject: Reply with quote

SYSEXEC is searched before SYSPROC for execs so it may be that SYSEXEC is open because that is where you are running the exec from. You can not free an open ddname.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group