> >It wants to have exclusive control of the dataset.
>
> Not necessarily!
ISTR that ISPF edit's SYSDSN ENQ behaves differently
for a sequential dataset versus a member of a PDS.
IIRC the sequential dataset retains an exclusive ENQ
after the first save whereas, in the case of a PDS,
the exclusivity is only maintained for the duration of the save.
(I can't easily prove this right now as my client has
evidently "hidden" ISRDDN.) :-(
If this is the case, remaining in edit on a sequential
obeyfile would have a worse effect than would a member.
> I did several tests. The obey fails if I try a nonexistent member (
> logically ) and if I use a dataset for which TCP/IP is not authorized.
Did you test sequential versus member of a PDS?
> Date: Thu, 7 Feb 2008 08:40:05 +0100
> From: [EMAIL PROTECTED]
> Subject: Re: tcpip, vary obey command failed : exclusive control
> To: [email protected]
>
> Pat
>
> >When I have forgotten to get out of edit mode on the FB file, the
> obeyfile command fails.
> >It wants to have exclusive control of the dataset.
>
> Not necessarily!
> This is the output of an obey for a dummy-file which I entered in edit
> mode:
>
> MVS V TCPIP,,O,SYS1.TCPPARMS(OBEY3)
> EZZ0060I PROCESSING COMMAND: VARY TCPIP,,O,SYS1.TCPPARMS(OBEY3)
> EZZ0300I OPENED OBEYFILE FILE 'SYS1.TCPPARMS(OBEY3)'
> EZZ0309I PROFILE PROCESSING BEGINNING FOR 'SYS1.TCPPARMS(OBEY3)'
> EZZ0310I FILE 'SYS1.TCPPARMS(OBEY3)' CONTAINS NO STATEMENTS
> EZZ0316I PROFILE PROCESSING COMPLETE FOR FILE 'SYS1.TCPPARMS(OBEY3)'
> EZZ0053I COMMAND VARY OBEY COMPLETED SUCCESSFULLY
>
> When I enter my profile in edit mode and do an obey for it, the obey is
> also executed.
> Ofcourse I get some errors ( device already started, etc ), but the obey
> is nicely executed.
> ( Btw. Thanks Pat O'Keefe for the information that the profile is
> obeyable )
>
> I did several tests. The obey fails if I try a nonexistent member (
> logically ) and if I use a dataset for which TCP/IP is not authorized.
>
>
> --
> Maarten Slegtenhorst
_________________________________________________________________
Need to know the score, the latest news, or you need your HotmailĀ®-get your
"fix".
http://www.msnmobilefix.com/Default.aspx
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html