View previous topic :: View next topic
|
Author |
Message |
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
Hi All,
Can any one tell me how to use the PASSWORD parameter in the JOB card? Please find the below code snippet.
Code: |
//ABCDEFG JOB (AAAA),'FILE CPY JOB',CLASS=0,
// MSGCLASS=U,NOTIFY=&SYSUID,
// USER=ABCDEFG,PASSWORD=
|
Thanks in Advance
Agni. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Agni,
You need to 'hardcode' your password. Assume your password is 'magic1'. Then job card looks as -
Code: |
//ABCDEFG JOB (AAAA),'FILE CPY JOB',CLASS=0,
// MSGCLASS=U,NOTIFY=&SYSUID,
// USER=ABCDEFG,PASSWORD=MAGIC1 |
|
|
Back to top |
|
|
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
Hi Murali,
Can you also tell me what is the use of this parameter?
Thanks
Agni. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Agni,
Quote: |
Can you also tell me what is the use of this parameter? |
Refer manuals. |
|
Back to top |
|
|
ramesh_ibm
New User
Joined: 17 Nov 2007 Posts: 16 Location: banglore
|
|
|
|
Code: |
//jobnamex JOB (agency,rc),
// 'PROD-CNTL',CLASS=A,MSGCLASS=Q,
// USER=uuuuuuuu,
// PASSWORD=pppppppp
|
Where: JOB is a constant that must be coded positions 12 through 14.
agency is the 6 position billing account number.
rc is the "run code" as defined in Appendix A.
userid is the RACF assigned user security
identification.
Password is the individual unique security name assigned
to the userid.
uuuuuuuu and pppppppp Production jobs are under the security control of RACF, which requires job statement parameters "USER" and "PASSWORD" to acquire authorization for execution. USER and PASSWORD parameters must be eight positions long for production jobs. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Agni,
Welcome to the forums. You can make use of this password parameter for the reasons stated below.
Suppose your colleague is logged in and you want to submit a job from his ID and want that to be available in your spool. Then you can submit the job from his ID giving the USER and the PASSWORD parameter. The job will be available in your spool after the execution.
Say you have a job where all the new datasets are to be created with ID1 (Your teammates ID) Then you can run a job from your ID using the USER and PASSWORD of ID1. |
|
Back to top |
|
|
ramesh_ibm
New User
Joined: 17 Nov 2007 Posts: 16 Location: banglore
|
|
|
|
I have one doubt aaru
If I want to submit a Job from my friend ID I need to submit his user Id and Passowrd .....that means each ID has a unique password??
or wether it is the same as login password
Please clarify bit more on this
thanks,
Ramesh |
|
Back to top |
|
|
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
Hi Aaru,
I already did that and i got the following error.
Code: |
TSS7221E Dataset Not Accessible - $JOB.XXXXXXXI
TSS7270E Job Submit/ACID Authorization Failed by Site Security Exit
SUBMIT ENDED DUE TO ERROR, SYSTEM ABEND CODE 913
***
|
where XXXXXXX is my teammate's User ID. I gave his ID and Password in the job card. Even i tried with my ID in the jobname and his ID and password in the respctive parameters.
Note: We should use our user IDs for the job names.
Thanks
Agni. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
ramesh,
Quote: |
If I want to submit a Job from my friend ID I need to submit his user Id and Passowrd .....that means each ID has a unique password??
|
Yes, you need to know his password which you can very well get from your friend. |
|
Back to top |
|
|
ramesh_ibm
New User
Joined: 17 Nov 2007 Posts: 16 Location: banglore
|
|
|
|
Code: |
. . . . . . . . . . . . . . . . . . . . . . . . . . .
SDSF EDIT DEVAJS9T (JOB56426) JCLEDIT Columns 00001 00072
Command ===> sub Scroll ===> CSR
****** ***************************** Top of Data ******************************
000001 //DEVAMJ9T JOB (SPUFI),'BAT SPUFI',CLASS=C,MSGCLASS=X,
000002 // NOTIFY=&SYSUID,REGION=4M,USER=DEVAJS9,PASSWORD=GAPINV06
000003 //PS05 EXEC PGM=IEBGENER
000004 //SYSUT1 DD DSN=DEVAJS9.TEST.NEW,
000005 // DCB=(LRECL=80,RECFM=FB,BLKSIZE=14160),
000006 // SPACE=(TRK,(1,5),RLSE),
000007 // DISP=(NEW,CATLG,DELETE)
000008 //SYSUT2 DD SYSOUT=X
000009 //SYSPRINT DD SYSOUT=X
000010 //SYSIN DD *
****** **************************** Bottom of Data ****************************
IKJ56283I USER ON JOBCARD MUST YOUR OWN OR AN AUTHORIZED USERID AND THE JOBNAME
MUST MATCH THAT USERID
***
|
I too got the above error... |
|
Back to top |
|
|
ramesh_ibm
New User
Joined: 17 Nov 2007 Posts: 16 Location: banglore
|
|
|
|
may be what is I did is I can explain clear
My ID is DEVAMJ9 I gave my friend ID and Password as USER and PASSWORD
But SUBMIT failed with the above shown error message |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Ramesh,
Please note that some shops doesn't allow these things. |
|
Back to top |
|
|
ramesh_ibm
New User
Joined: 17 Nov 2007 Posts: 16 Location: banglore
|
|
|
|
U r right...
Thanks murmohk1.. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Agni and ramesh,
I again tried and it is working fine in my shop. Better get in touch with the security guys to know about your installation.
Techies,
Please advise if there is any other solution. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Aaru,
Quote: |
I again tried and it is working fine in my shop. |
As said in my prev post, some shops DOESN'T allow these things.
Quote: |
Please advise if there is any other solution. |
May be you can directly submit the job from others login. |
|
Back to top |
|
|
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
I think you guys must be right. May be they would have defined that these kind of job submissions should not be done while they installed in my shop.
Anyways, thanks for your time to reply for my query!!!
Thanks
Agni. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
If I want to submit a Job from my friend ID I need to submit his user Id and Passowrd |
re.: many posts
I am amazed by the thoughtlessness with which security issues are approached in these forums,
people please wake up, security is vital, to any organization, and proper consideration must be given before replying
I would never trust organizations were uesr and passwords wewre public domain ( like it appears from some posts )
in any MODERN/DECENT organization trying to use some other userid will result in lawful termination of both people involved
now back to the technical issue,
no need to put user and password in the job card,
JES early verify takes care of that,
putting user and password in the job card,
( even if jes masquerades it on the sysout),
means that if a PF3 slips by, a password would be stored in clear somwhere,
and we wouldn' t want that !! |
|
Back to top |
|
|
|