Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How can we share ISPF table with many users?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How can we share ISPF table with many users?
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: 1746
Location: Bloomington, IL

PostPosted: Tue Mar 02, 2010 5:20 pm    Post subject:
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    Post subject: Reply to: How can we share ISPF table with many users?
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

Moderator Team Head


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

PostPosted: Tue Mar 02, 2010 5:42 pm    Post subject: Reply to: How can we share ISPF table with many users?
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    Post subject: Reply to: How can we share ISPF table with many users?
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    Post subject: Reply to: How can we share ISPF table with many users?
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us