Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
EVENTS Macro table storage question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Duncan Sharppe

New User


Joined: 13 Dec 2013
Posts: 20
Location: USA

PostPosted: Tue Feb 18, 2014 11:06 pm    Post subject: EVENTS Macro table storage question
Reply with quote

Hello all,

I am using the EVENTS macro to enq/deq ECBs from one task. The ECBs are related to I/O to a VSAM dataset. Everything is fine with the I/Os being ASY to the dataset and the ECBs being posted and the "compute" portion of the code doing its thing all the while.

(More often than not the ECB is posted by the time the task gets around to checking it; and, I found a "Quick Post" routine in one of the IBM manuals where the POST is bypassed upon finding the ECB posted. All is well all over when the I/O and the computing is done in one task.

I wanted to split the I/O into a separate task from the computing task.

This is where the problem appeared. It seems that the storage acquired by the EVENTS macro for the table that holds the ECB address is owned by the issuing task and cannot be accessed by the sister I/O issuing task. It appears that there is no way to control the subpool from which storage is acquired for the EVENTS TABLE.

I attempted to get storage from the Address Space owning subpools and do some tricky-dicky EVENTS related stuff but that was a no-go.

I can keep the I/O code in the same task as the compute portion and do the ASY I/O but I was hoping to split this for capacity and performance reasons.

Anyone else encounter this and how did they address this issue?

Duncan, the friar

p.s. If I have not explained myself very well please ask questions and I will try to better state the issue.
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts Need inputs on DB2 tablespace/table r... ashek15 DB2 3 Sat Mar 24, 2018 11:49 pm
No new posts COBOL declaration for table Poha Eater DB2 3 Mon Feb 26, 2018 6:58 pm
No new posts JES2 EXIT 6 QUESTION Randy Horowitz All Other Mainframe Topics 30 Tue Feb 06, 2018 5:47 pm
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us