View previous topic :: View next topic
|
Author |
Message |
yogeshpawar
New User
Joined: 01 Mar 2006 Posts: 37 Location: Sussex-UK
|
|
|
|
Hi,
I have got following code in one of our program
Code: |
* GET JOBNAME FROM TIOT AND TEST FOR TSO
EXTRACT MEXTRACT,,FIELDS=(TIOT,TSO)
LM R2,R3,MEXTRACT
TM 0(R3),X'80' TEST FOR TSO
BNO *+8
MVI MTEST,X'FF' SHOW PROGRAM BEING TESTED
MVC MJOBN,0(R2) STORE JOBNAME FROM TIOT
|
I understand that TIOT will give Jobname info. Can somebody tell me what kind of information is returned by TSO option in FIELDS parameter above.
Also can you direct me to any reading material which will explain about different options used in FIELDS parameter and corresponding information returned. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Look up the EXTRACT macro in the z/OS Authorized Assembler Services Reference manual for your version of z/OS. That will send you to the other manuals you need to review. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
yogeshpawar
New User
Joined: 01 Mar 2006 Posts: 37 Location: Sussex-UK
|
|
|
|
Hi Bill,
I already had a look at that post and understood about TIOT. Now I want to know what kind of information is returned by TSO option in FIELDS.
Does this tell about whether your job is running on Test or Production system? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
How would a macro know which system it is being assembled on? If the system returned is SYS1, is that a test or production name? |
|
Back to top |
|
|
yogeshpawar
New User
Joined: 01 Mar 2006 Posts: 37 Location: Sussex-UK
|
|
|
|
Hi Enricho,
I got the information about EXTRACT macro in the link you have provided but there was no detailed explaination about parameters passed to this.
For eg. When we give TIOT option we get information about Jobname, etc. In the same way I am trying to understand what kind of information is returned when we give TSO option in FIELDS.
Also, the other links provided points o the first link for detailed explaination of EXTRACT but couldn't find much info around the different parameters passed. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
yogeshpawar
New User
Joined: 01 Mar 2006 Posts: 37 Location: Sussex-UK
|
|
|
|
Thanks Enrico. Have found what I needed. |
|
Back to top |
|
|
|