IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

About the job class issue for "TSU"


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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: 2455
Location: Hampshire, UK

PostPosted: Fri Jun 17, 2011 3:08 pm
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
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Fri Jun 17, 2011 4:00 pm
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
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)
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

Moderator Emeritus


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

PostPosted: Fri Jun 17, 2011 8:35 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts building java class with zip4j.jar on... Java & MQSeries 0
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
Search our Forums:

Back to Top