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
 

 

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: 2422
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: 2422
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: 2422
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: 7913
Location: Bellevue, IA

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: 2422
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 CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts Data set is allocated to another job ... Seppe CLIST & REXX 2 Wed Aug 03, 2016 4:31 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm


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