Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
JCL and TWS User Parameters

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

New User


Joined: 02 Aug 2007
Posts: 10
Location: Prague - CZ Rep.

PostPosted: Mon Mar 07, 2011 11:07 pm    Post subject: JCL and TWS User Parameters
Reply with quote

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
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2442
Location: Netherlands, Amstelveen

PostPosted: Mon Mar 07, 2011 11:34 pm    Post subject:
Reply with quote

And what are the manuals telling you? Or didnt you consulting them?
Back to top
View user's profile Send private message
amondj

New User


Joined: 02 Aug 2007
Posts: 10
Location: Prague - CZ Rep.

PostPosted: Mon Mar 07, 2011 11:41 pm    Post subject:
Reply with quote

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 icon_sad.gif and actually i don't know the special parameters for the system userid under tws
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2442
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 08, 2011 1:39 pm    Post subject:
Reply with quote

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
View user's profile Send private message
amondj

New User


Joined: 02 Aug 2007
Posts: 10
Location: Prague - CZ Rep.

PostPosted: Tue Mar 08, 2011 1:53 pm    Post subject:
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2442
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 08, 2011 2:13 pm    Post subject:
Reply with quote

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
View user's profile Send private message
amondj

New User


Joined: 02 Aug 2007
Posts: 10
Location: Prague - CZ Rep.

PostPosted: Tue Mar 08, 2011 2:16 pm    Post subject:
Reply with quote

Ok problem solved, the UID was not defined in the RACF, now is going to be defined icon_smile.gif
by the way, the error was that the job was cancelled by RACF and/or JES exit
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8188
Location: East Dubuque, Illinois, USA

PostPosted: Tue Mar 08, 2011 4:36 pm    Post subject:
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2442
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 08, 2011 4:40 pm    Post subject:
Reply with quote

Quote:

everyone wasted time


Robert, it was mostly my time, and i will never get it back 36_2_18.gif
Back to top
View user's profile Send private message
amondj

New User


Joined: 02 Aug 2007
Posts: 10
Location: Prague - CZ Rep.

PostPosted: Tue Mar 08, 2011 4:47 pm    Post subject:
Reply with quote

PeterHolland wrote:
Quote:

everyone wasted time


Robert, it was mostly my time, and i will never get it back 36_2_18.gif


Sorry for this icon_sad.gif now i know what to do
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 User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us