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 

Error while allocating a panvalet dataset in REXX

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


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Wed Feb 01, 2006 5:57 am    Post subject: Error while allocating a panvalet dataset in REXX Reply with quote

Though I am able to edit this member through panvalet options but when I try to extract this using REXX I get error while allocating. There is a contention with a job. I don't have access to the job or JCL so don't know what it is doing.

But why doesn't this contention happen when I try to edit it through panvalet?

I am trying to allocate a panvalet dataset as -

"alloc f(pandd1 ) da('"lib_nm"') shr reuse"

Message I am getting is -

Code:
IKJ56241I DATA SET DIBA.TEST.PANVALET NOT ALLOCATED+             
IKJ56241I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER           
IEA995I SYMPTOM DUMP OUTPUT                                       
  USER COMPLETION CODE=0205                                       
 TIME=05.36.38  SEQ=10584  CPU=0000  ASID=1F8E                   
 PSW AT TIME OF ERROR  078D0000   0017EE0A  ILC 2  INTC 0D       
   ACTIVE LOAD MODULE           ADDRESS=00179258  OFFSET=00005BB2
   NAME=PAN#2                                                     
   DATA AT PSW  0017EE04 - 411000CD  0A0D9140  A0874710           
   GR 0: 00000950   1: 000000CD                                   
      2: 00197CE8   3: 000001DC                                   
      4: 00159398   5: 001970D0                                   
      6: 001970D0   7: 0017A544                                   
      8: 00159510   9: 00000080                                   
      A: 00196FF0   B: 000154A8                                   
      C: 0017E410   D: 0015F418                                   
      E: 5017E934   F: 00000004                                   
 END OF SYMPTOM DUMP                               


Thanks,
Diba
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Feb 01, 2006 6:02 am    Post subject: Reply with quote

Dibakar,

I don't think you can directly allocate a panavalet library within rexx. Check this link which might help

http://www.mvsforums.com/helpboards/viewtopic.php?t=2319&highlight=librarian

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Wed Feb 01, 2006 6:16 am    Post subject: Reply with quote

Kolusu,

I have recently moved from one project to another so I am testing some of my tools again.

The code I gave was from a tool which was working in my previous project. Since my original program accepts wild card so I cannot go by member name.

Still, I will see if I can modify the logic and use SUBSYS instead.

Thanks,
Diba.
Back to top
View user's profile Send private message Send e-mail
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Wed Feb 01, 2006 7:00 am    Post subject: Reply with quote

oops ... SUBSYS is not allowed in REXX, as mentioned in the above link.
Back to top
View user's profile Send private message Send e-mail
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Feb 01, 2006 10:15 am    Post subject: Reply with quote

There is no problem allocating the Panvalet Library in REXX as long as you use Panvalet utilities to access the members. Looks to me like someone else has exclusive control. I am not sure if the REUSE parameter would cause these symptoms.
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Wed Feb 01, 2006 11:39 pm    Post subject: Reply with quote

yes, reuse was causing the problem.

thanks,
diba.
Back to top
View user's profile Send private message Send e-mail
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