Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Usage of GROUP and USER parameters in a JOB statement.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
shashirbsk

New User


Joined: 18 Jan 2007
Posts: 7
Location: hyderabad

PostPosted: Wed Jun 11, 2008 4:52 pm    Post subject: Usage of GROUP and USER parameters in a JOB statement.
Reply with quote

Can anyone explain me the usage of GROUP and USER parameters in a JOB statement?
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jun 11, 2008 5:01 pm    Post subject: Reply to: Usage of GROUP and USER parameters in a JOB statem
Reply with quote

shash,

From the manuals

Quote:
Purpose: Code the USER parameter to identify to the system the person submitting the job. The userid is used by the Resource Access Control Facility (RACF), the system resources manager (SRM), and other system components.

If the installation contains the feature for propagation of the user and group identification, the USER and PASSWORD parameters are required, and the GROUP parameter is optional on JOB statements only for the following:

Batch jobs submitted through an input stream, such as a card reader, (1) if the job requires access to RACF-protected resources or (2) if the installation requires that all jobs have RACF identification.

Jobs submitted by one RACF-defined user for another user. In this case, the JOB statement must specify the other user's userid and may need a password. The group id is optional.

Jobs that execute at another network node that uses RACF protection.

Otherwise, the USER, PASSWORD, and GROUP parameters can be omitted from JOB statements. RACF uses the userid, password, and default group id of the submitting TSO/E user or job.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jun 11, 2008 6:09 pm    Post subject: Re: Usage of GROUP and USER parameters in a JOB statement.
Reply with quote

shashirbsk wrote:
Can anyone explain me the usage of GROUP and USER parameters in a JOB statement?
USER parameter is more handy when some sechduler is used, in this JOB card:
Code:
//JJJ030C  JOB (@),XX.AAAA-DAILY-XX-RUN,
//         USER=J088XX,REGION=0M,                     
//             MSGCLASS=J,CLASS=J                     

This tells that this JOB is meant for user J088XX (just another node at my shop).

There are some other usage of this, they are as follows

- Jobs submitted to execute at another network node that uses RACF security

- Jobs submitted by one TSO user on behalf of another TSO user. If this is done, the JOB statement must specify the second user's USER= and PASSWORD= values.

- Batch jobs submitted from a non-TSO address space that need to access RACF-protected resources.


When You submit a "test" job with USER not coded, default is Your RACF ID.
Back to top
View user's profile Send private message
shashirbsk

New User


Joined: 18 Jan 2007
Posts: 7
Location: hyderabad

PostPosted: Thu Jun 12, 2008 12:22 pm    Post subject: Reply to: Usage of GROUP and USER parameters in a JOB statem
Reply with quote

Thanks Aaru and Anuj for your explanations.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Jun 12, 2008 1:34 pm    Post subject:
Reply with quote

You are welcome.. icon_smile.gif .

If you have further queries, post them, some helping hand would be here..Happy Weekend..(for me it's starting today.. icon_biggrin.gif )
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Why TS/OP would Not contact site supp... RahulG31 All Other Mainframe Topics 2 Wed Mar 22, 2017 7:46 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts User Cancels the job PANDU1 DB2 1 Sat Mar 04, 2017 8:21 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us