IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISPF 3.4 edit of a ps file, disp used in dynamic allocation


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Carrie Da Silva

New User


Joined: 16 Nov 2017
Posts: 2
Location: USA

PostPosted: Fri Sep 21, 2018 3:01 am
Reply with quote

Hello! I did a search for this question, but did not see an answer. So, I apologize in advance if it has been answered already and I did not find it. We have an exit into dynamic allocation. When I do an edit of a PS file in ispf 3.4, I see the allocation as disp=shr first then a follow on allocation of disp=old for the same data set. Is this normal? How does this affect enq processing?

Thanks in advance for any knowledge of how this processing works.
Carrie
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 888
Location: The Universe

PostPosted: Fri Sep 21, 2018 3:37 am
Reply with quote

As far as ISPF goes, your observation is not correct.

When you edit an existing sequential data set ISPF allocates the data set with exclusive control; it stays that way until you exit from the edit session.
Back to top
View user's profile Send private message
Carrie Da Silva

New User


Joined: 16 Nov 2017
Posts: 2
Location: USA

PostPosted: Tue Sep 25, 2018 10:44 pm
Reply with quote

Steve,
Thank you for the reply. We have an exit in dynamic allocation and I can see two distinct different calls (very close together) for this ps dataset. The first has a text unit of disp=shr and the second has disp=old. I discussed this with a developer in allocation who saw the same behavior. There must be a reason for this, maybe to see if it is actually even possible to edit the file at this time.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2249
Location: Silicon Valley

PostPosted: Tue Sep 25, 2018 11:53 pm
Reply with quote

I think you have to ask IBM about their design choices. The people here are users of ISPF, but do not have access to IBM source code to see what is actually being done.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts To pull the file with Date and Time u... TSO/ISPF 17
No new posts regarding COBOL WRITE verb (VB File H... COBOL Programming 6
No new posts COBOL Table data to a flat file with ... COBOL Programming 8
No new posts SAY backslash within ISPF CLIST & REXX 16
No new posts Compare 2 files replace data in 1st f... DFSORT/ICETOOL 4
Search our Forums:

Back to Top