Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
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

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 DB2 - row_number function - Need 1st ... Q5P418 DB2 5 Wed Sep 09, 2020 8:35 am
This topic is locked: you cannot edit posts or make replies. VSAM I/O - Extended Addressability - ... amitsjcntl JCL & VSAM 12 Mon Jul 06, 2020 3:51 pm
No new posts Force a Return Code and print error m... Rick Ryan SYNCSORT 30 Thu Jun 25, 2020 1:18 am
No new posts How to Assign a Function key to Mainf... upendrasri TSO/ISPF 4 Sat May 30, 2020 9:03 pm
No new posts trying to set return code in PROC tanvi110788 JCL & VSAM 15 Wed May 20, 2020 2:02 pm

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