View previous topic :: View next topic
|
Author |
Message |
amondj
New User
Joined: 02 Aug 2007 Posts: 10 Location: Prague - CZ Rep.
|
|
|
|
Hello everybody,
I have one question:
I decided to put some job that must run every day at a specific hour, inside the opc (tws) of the system.
After few try because the job was requesting the User Parameter, I added my UserID and Password for run, now my question is that one:
Those jobs must run on the system automatically every day at 17, I would like to "not use" the User= parameter or to specify the System as "run user"
Is there a way for fix it??? Or I must always specify an userid and password? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
And what are the manuals telling you? Or didnt you consulting them? |
|
Back to top |
|
|
amondj
New User
Joined: 02 Aug 2007 Posts: 10 Location: Prague - CZ Rep.
|
|
|
|
I looked in the manual for the User parameters, and so on, i know that there is a way, but i don't know how to find it and actually i don't know the special parameters for the system userid under tws |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
After few try because the job was requesting the User Parameter, I added my UserID and Password for run
|
Im totally lost here. Where did you have to enter userid/password, in TWS?
You really have to explain your problem better. Maybe you show how you defined your job in TWS or some jcl. |
|
Back to top |
|
|
amondj
New User
Joined: 02 Aug 2007 Posts: 10 Location: Prague - CZ Rep.
|
|
|
|
PeterHolland wrote: |
Quote: |
After few try because the job was requesting the User Parameter, I added my UserID and Password for run
|
Im totally lost here. Where did you have to enter userid/password, in TWS?
You really have to explain your problem better. Maybe you show how you defined your job in TWS or some jcl. |
So here is the header of the job:
//TPINIT1 JOB (IY990),'INIT VOLUME',
// MSGLEVEL=(1,1),CLASS=A,
// MSGCLASS=A,REGION=0M,USER=XXXXXXX,PASSWORD=XXXXXXXX
If i will not add the USER and PASSWORD parameters the job will not run
Because this must be an automatic job that must run every day at 17, there cannot be "user" and "password" statement but, as far as i know, some "system user"
And yes, those jobs are defined in application under opc |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
the job will not run
|
Why not, is it canceled by RACF or a JES exit?
Or is it canceled by a TWS exit?
How are other jobs defined in TWS?
Maybe you could solve it by using job tailoring, read
Chapter 21. Job Tailoring
TWS Planning and Scheduling the Workload SH19-4546-01 |
|
Back to top |
|
|
amondj
New User
Joined: 02 Aug 2007 Posts: 10 Location: Prague - CZ Rep.
|
|
|
|
Ok problem solved, the UID was not defined in the RACF, now is going to be defined
by the way, the error was that the job was cancelled by RACF and/or JES exit |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Yet another case where the lack of actual system output hindered our helping resolve the problem. If you had posted the ICH408 message, we would have known immediately how to resolve the issue. Instead, everyone wasted time since you "knew" it was a TWS issue. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
everyone wasted time
|
Robert, it was mostly my time, and i will never get it back |
|
Back to top |
|
|
amondj
New User
Joined: 02 Aug 2007 Posts: 10 Location: Prague - CZ Rep.
|
|
|
|
PeterHolland wrote: |
Quote: |
everyone wasted time
|
Robert, it was mostly my time, and i will never get it back |
Sorry for this now i know what to do |
|
Back to top |
|
|
|