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
 

 

About the job class issue for "TSU"

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

New User


Joined: 09 Aug 2006
Posts: 3

PostPosted: Fri Jun 17, 2011 2:17 pm    Post subject: About the job class issue for "TSU"
Reply with quote

Hi,
I have one issue about the job class in PLI program, the PLI program get the SSIB as the job class, when I executed the program, the SSIB for the program was 'TSU' in JES2 pool, but the value got from the program was "T01", it was not matching.
Did some guys have the same issue before, and could you please give some advice?
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1722
Location: UK

PostPosted: Fri Jun 17, 2011 3:08 pm    Post subject:
Reply with quote

As far as I am aware the job class is one character so why are you expecting 3?
Back to top
View user's profile Send private message
willbegood

New User


Joined: 09 Aug 2006
Posts: 3

PostPosted: Fri Jun 17, 2011 3:52 pm    Post subject:
Reply with quote

This job class is not the class in the job card of JCL, in order to avoid the misundertood, it's the job type in my program to get the value from SSIB.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 991
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jun 17, 2011 4:00 pm    Post subject:
Reply with quote

Quote:
This job class is not the class in the job card of JCL, in order to avoid the misundertood, it's the job type in my program to get the value from SSIB.


This is unclear. The SSIB (IEFJSSIB) does not have any 3-byte field or any field that's described as 'class'. You need to explain what you're doing better.

Garry.
Back to top
View user's profile Send private message
willbegood

New User


Joined: 09 Aug 2006
Posts: 3

PostPosted: Fri Jun 17, 2011 6:28 pm    Post subject:
Reply with quote

Job type/class TSU means Time Sharing User. For example, you can find your ID in SAM, the job type of your ID is TSU if you can see the JES2 pool or thru CA-SYSVIEW.
This type can be got from SSIB. We use this type to distinguish if the program is running online (ISPF) or in batch job.

For the details, please see Subsystem Identification Block (SSIB)
http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.ieaf200/input80.htm
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 17, 2011 8:35 pm    Post subject:
Reply with quote

Hello and welcome to the forum,

Did this code ever work or is this a new program? If it ever worked, what has been changed?

Was the problem run executing on a screen or via jcl?
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts DFHRESPONSE returns issue divated CICS 3 Wed Nov 02, 2016 6:32 pm
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


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