Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IEFSJREQ or SWBREQTU following SSI Function code 79

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

New User


Joined: 28 Dec 2018
Posts: 1
Location: US

PostPosted: Tue Jan 08, 2019 1:20 am    Post subject: IEFSJREQ or SWBREQTU following SSI Function code 79
Reply with quote

I am not 100% certain this is the right Forum for this post but everything I am going to talk about is written in Assembler Language and I didn't see an MVS Advanced Topics Forum, which is where I would have placed it if such a Forum existed.

Anyway what I am doing is using the Subsystem Interface in an External Writer program and specifically function code 79 (Subsystem Application Programming Interface or SAPI). Using that function code there is a bit you can set that will return to you SWB information about the SYSOUT file you are interested in. I have successfully turned on that bit and gotten the return code that tells me that the SWB information was successfully retrieved. Unfortunately what I am having trouble with is retrieving that information from the system at that point.

The documentation tells you to use either the SJFREQ macro or the SWBTUREQ macro to retrieve the information in dynamic allocation style text units. I have not been able to get either of those macros to work. The one that I have spent the most time on is the SWBTUREQ macro because there is a partial example in the documentation and I was able to get a return code of zero using that example. But when I look at the output text units that I retrieved they are all just blank characters. The SYSOUT attributes I am trying to retrieve are BUILDING, DEPT, and ROOM and when I look in SDSF at the SYSOUT file it clearly shows that those attributes are not blank, but for some reason that I don't understand the SWBTUREQ macro returns only blanks.

If anybody out there has worked with this stuff and can help me I would greatly appreciate it.
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 ADDMONS function - conclusion after o... sergeyken SYNCSORT 1 Tue Nov 12, 2019 9:54 pm
This topic is locked: you cannot edit posts or make replies. ADDMONS function rnimmala SYNCSORT 24 Fri Nov 08, 2019 8:55 pm
No new posts COBOL -DB2 SQL code to have GROUP BY ... vinu78 DB2 21 Wed Oct 23, 2019 7:00 pm
No new posts proc step return code to override in ... Aaryaa JCL & VSAM 3 Tue Aug 20, 2019 4:32 pm
No new posts Difference between GE and GB return c... Poha Eater IMS DB/DC 8 Fri Jul 12, 2019 12:59 pm

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