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: 1753
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
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm


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