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

How can we share ISPF table with many users?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Tue Mar 02, 2010 5:11 pm
Reply with quote

Hi,

I have created one tool which updates ISPF table and displays rows on panel. This tool is working fine for me. But when I tested it on two terminals simultaneously, it gave me error similar to "Table is in use. Cannot open the table for processing"

Now my question is - Can more than one user use my table for running the tool simultaneously without giving above error?
If yes, please give your valuable suggestions.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Mar 02, 2010 5:20 pm
Reply with quote

If you are opening the table with WRITE, then no, two users may never have it open simultaneously. In fact, two logical sessions of the same user may not have it open for WRITE simultaneously.

We have two similar tools for displaying ISPF tables. One opens the table with NOWRITE, effectively browses the table, closes it with TBEND, and may be run against a given table by multiple users simultaneously. The other opens the table with WRITE, closes it with TBCLOSE, attempting to save changes made, and may be run only a single user at a time against any given table.
Back to top
View user's profile Send private message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Tue Mar 02, 2010 5:34 pm
Reply with quote

Hi,

In my tool every user needs to open ISPF table(with write option) to add records into the table and then deletes them from table.

If we cannot use table in share mode then how option 3.16 "ISPF Table Utility" is working, so I think their might be some solution for this.
Please help... icon_sad.gif
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 02, 2010 5:42 pm
Reply with quote

Have a step of the process where each user has to submit a job to perform the table update. This way only the job can open the table for WRITE.
Back to top
View user's profile Send private message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Tue Mar 02, 2010 5:49 pm
Reply with quote

Hi Kevin,

Thanks for the suggestion. I have basic knowledge of JCL and Rexx, but you can consider me as a fresher for JCL and Rexx interface through rexx program. Could you please provide me any documents or sites which can explain how to create interface between JCL and rexx.
Back to top
View user's profile Send private message
samedesh
Currently Banned

New User


Joined: 22 May 2007
Posts: 46
Location: India

PostPosted: Tue Mar 02, 2010 6:48 pm
Reply with quote

Hi Akatsukami,

Thanks for the suggestion you gave regarding opening a table in write/no write option.
My logic is now working fine and more than one user can run tool.
I kept table(with write option) open while displaying panel. but now I close as soon as update is finished and opens table with nowrite option to display rows on table.

Thanks to all. icon_biggrin.gif
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 Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Multiple table unload using INZUTILB DB2 2
Search our Forums:

Back to Top