MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

term keyword

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
manoj nayak
Banned


Joined: 12 Apr 2007
Posts: 15
Topics: 8
Location: Ind

PostPosted: Wed May 30, 2007 9:32 am    Post subject: term keyword Reply with quote

I want to know what is the significance fo the use of 'TERM' keyword in the DD atatement of an JCL.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Wed May 30, 2007 9:36 am    Post subject: Reply with quote

manoj nayak,

1. Click on "Quick Manuals" link on top of this page
2. Scroll to JCL section and click on the manual "Z/OS V1R4.0 MVS JCL Reference"
3. Click on
4. Type "term" without quotes in the search box and click on search
5. Read the 2nd search result

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed May 30, 2007 9:37 am    Post subject: Reply with quote

What part of the description in the manual did you not understand?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
manoj nayak
Banned


Joined: 12 Apr 2007
Posts: 15
Topics: 8
Location: Ind

PostPosted: Wed May 30, 2007 9:54 am    Post subject: Reply with quote

AT FIRST THANKS TO YOUR RESPONSE.


Example 1

//DD1 DD TERM=TS


In a foreground job submitted from a TSO/E userid, this DD statement defines a data set coming from or going to the TSO/E userid.
Example 2

//DD1 DD TERM=TS,SYSOUT=*


In a background or batch job, the system ignores TERM=TS and recognizes a sysout data set. (An allocation error occurs if SYSOUT=* is not coded with TERM=TS.)
Example 3

//DD3 DD UNIT=3400-5,DISP=(MOD,PASS),TERM=TS,LABEL=(,NL),
// DCB=(LRECL=80,BLKSIZE=80)


In a foreground job, the system ignores all of the parameters in this example except TERM and DCB. In a batch job, the system ignores only the TERM parameter

'In the above manual specified i got to know that term is some what related to user and job, but still i didn't get a clear picture to make others understand about it'
That means not got the concept clearly.'
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed May 30, 2007 9:59 am    Post subject: Reply with quote

Quote:
Use the TERM parameter to indicate to the system that a data set is coming from or going to a terminal for a TSO/E user.


Waht is so difficult to comprehend here? Batch jobs do not have terminals, online interactive tasks (like TO users) have terminals. TERM is short for terminal.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
arnold57
Beginner


Joined: 01 Oct 2004
Posts: 30
Topics: 0

PostPosted: Mon Jun 04, 2007 3:57 pm    Post subject: Reply with quote

Manoj,

TERM is ignored in any batch JCL you submit.

What you probably don't understand is that all TSO sessions have JCL associated with them. The JCL is in a procedure commonly called the "logon proc". While it is no longer common to do so, if TERM=TS is used on a DD statement in your logon proc, programs you run under TSO which read or write to that file will read from or write to the terminal.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group