View previous topic :: View next topic
|
Author |
Message |
rohit jaiswal Warnings : 2 New User
Joined: 09 Mar 2006 Posts: 36 Location: hyderabad,A.P
|
|
|
|
hi
can anyone pls tell me for wat purpose are the variables access and room used in the job card.
i have come across when i was readinf a doc that has interview questions in it.
i searched for it but cudnt find any info.
thank you
regards
rohit |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
rohit jaiswal wrote: |
i searched for it but cudnt find any info. |
You searched where? In the JCL Reference Manual?
There are no such variables listed for the JOB statement. |
|
Back to top |
|
|
rohit jaiswal Warnings : 2 New User
Joined: 09 Mar 2006 Posts: 36 Location: hyderabad,A.P
|
|
|
|
i searched in the manual and also on the internet but didnot get any solution for it |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Sounds like yet another trick question in the long list of trick and/or intentionally mis-leading questions being asked during so-called "interviews". |
|
Back to top |
|
|
rohit jaiswal Warnings : 2 New User
Joined: 09 Mar 2006 Posts: 36 Location: hyderabad,A.P
|
|
|
|
oh..
thanks for the sugession but if found any can you please reply. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Maybe they meant to refer to the ROOM parameter on a /*JOBPARM statement, or as used in an OUTPUT statement. |
|
Back to top |
|
|
rohit jaiswal Warnings : 2 New User
Joined: 09 Mar 2006 Posts: 36 Location: hyderabad,A.P
|
|
|
|
can u explain me in detail about the room aprameter |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
*** The ROOM Parameter **
>> This parameter is valid on MVS/SP Version 4 or higher systems only <<
The ROOM parameter is used to supply a room number or name value to
appear on the separator pages of SYSOUT printed for this job, as an
aid in delivering the output to its intended destination. The room
identification can include any characters, including imbedded
blanks, if you enclose the entire room field with single
apostrophes. If you do not enclose the room field in apostrophes,
it can only contain periods, alphanumeric characters, national
characters, parentheses, plus signs, hyphens, backslashes,
asterisks, and ampersands. A period cannot be immediately followed
by an asterisk, however. Symbolic parameters can appear if they
begin with a single ampersand; however, no substitution will be done
if the symbolic parameter appears in a room field enclosed in single
apostrophes, or if two consecutive ampersands are found. An
apostrophe within the room field must be coded as two consecutive
apostrophes.
In an APPC scheduling environment:
In both JES2 and JES3 systems, if you do not code the ROOM parameter
on the OUTPUT JCL statement, the system uses the value defined in the
transaction program (TP) user's RACF profile when:
- The user submitting the TP profile has a RACF profile defined for him, and
- The transaction program profile includes TAILOR_SYSOUT(YES).
Otherwise, the system uses the value defined on the transaction
initiator's job card.
In both JES2 and JES3 systems the ROOM parameter on the OUTPUT JCL
statement overrides the room defined in the RACF profile. The room in
the RACF profile overrides the room defined in the transaction
initiator's job card.
In a non-APPC scheduling environment:
In a JES2 system, if you do not code the ROOM parameter on the OUTPUT
JCL statement, the system uses the 4-character room field defined in
the JES2 accounting parameter on the JOB statement.
In a JES3 system, there is no default for the ROOM parameter on the
OUTPUT JCL statement.
In both JES2 and JES3 systems, the ROOM parameter on the OUTPUT JCL
statement overrides the 4-character room field defined in the JES2
accounting parameter on the JOB statement.
Syntax:
ROOM={'room id'} {room-id}
where 'room id' is a 1 to 60 character long room identification
value, which is printed on the SYSOUT separator pages for the OUTPUT
group described by this OUTPUT statement.
Example: //COMTEN OUTPUT ROOM='Operations Coffee Break Room'
I hope this will help you...
martin9 |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
It's in the manual (I already posted the link). |
|
Back to top |
|
|
rohit jaiswal Warnings : 2 New User
Joined: 09 Mar 2006 Posts: 36 Location: hyderabad,A.P
|
|
|
|
thanks martin if needed will ask u more for it |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
just note:
i copied the manual only...
just ask for more details, if necessary...
martin9 |
|
Back to top |
|
|
rohit jaiswal Warnings : 2 New User
Joined: 09 Mar 2006 Posts: 36 Location: hyderabad,A.P
|
|
|
|
i didnot understand the following things can u please clear my doubts
RACF profile
TAILOR_SYSOUT(YES).
transaction program
non-APPC scheduling environment:
if possible can u send me the entirejcl with the roomparameter in it along with the output.
wat i understood after reading the info. sent my u is that what ever is specified in the room parameter is prinnted at the output of sysprint if there is a new page. i mean if the sysyprint is sent to a printer then at the beginning of new page the room parameter value is printed at the top right most part.
sorrect me if i am wrong. |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy,
this depends, how your psf-exit is working.
if you are using an ibm default exit, you
might be right, but you can code also
your own exists, with your own data on
the initiator page of the jobs output.
the ROOM parameter does not say, if it is
really implemeted on your system,
therefore try it out!
//PRINTER OUTPUT CLASS=x,ROOM=your-room
//OUT DD SYSOUT=(,),OUTPUT=*.PRINTER
if it appears on paper is not the work of jes parameters directly.
martin9 |
|
Back to top |
|
|
|