View previous topic :: View next topic |
Author |
Message |
manoj nayak Banned
Joined: 12 Apr 2007 Posts: 15 Topics: 8 Location: Ind
|
Posted: Wed May 30, 2007 9:32 am Post subject: term keyword |
|
|
I want to know what is the significance fo the use of 'TERM' keyword in the DD atatement of an JCL. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Wed May 30, 2007 9:36 am Post subject: |
|
|
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 |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed May 30, 2007 9:37 am Post subject: |
|
|
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 |
|
|
manoj nayak Banned
Joined: 12 Apr 2007 Posts: 15 Topics: 8 Location: Ind
|
Posted: Wed May 30, 2007 9:54 am Post subject: |
|
|
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 |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed May 30, 2007 9:59 am Post subject: |
|
|
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 |
|
|
arnold57 Beginner
Joined: 01 Oct 2004 Posts: 30 Topics: 0
|
Posted: Mon Jun 04, 2007 3:57 pm Post subject: |
|
|
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 |
|
|
|
|