TWS and Load JCL



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

TWS and Load JCL

Postby samb01 » Fri Sep 07, 2012 1:15 pm

Hello,

i have two PO dataset :

1) wsal.efr.jcl

2) dsal.dfr.jcl

and there is the same member name in each datatset :

wsal.efr.jcl(member01)

and

dsal.dfr.jcl(member01)

But the content of each member is different.

I would like to choose the PDS wiche TWS wille load thirst. I explain :

I have two applications :

WSAL with de jcl : member01 (jcl of wsal.efr.jcl(member01))

and i have an other application :

DSAL wich contain the jcl member01 (jcl of dsal.dfr.jcl(member01)

(I can't change the member name)

How can i do to tell TWS to load the jcl wsal.efr.jcl(member01) for the application : WSAL

and load the jcl dsal.dfr.jcl(member01) for the application : DSAL

Sorry for ma bad english, i think you guessed is not my thisrt language...

Thank's for your help.
samb01
 
Posts: 236
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: TWS and Load JCL

 

Re: TWS and Load JCL

Postby dick scherrer » Fri Sep 07, 2012 6:54 pm

Hello,

(I can't change the member name)
And what is the Business reason for this?

Many places have a memb01a and a memb01b for 2 processes that are quite similar but not exactly the same.

How is the JCL library specified at run time if there is only 1 JCL library?

Depending on just what you have, there may be alternatives.

Posting the run JCL and PROC (if there is one) may help someone help you.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: TWS and Load JCL

Postby samb01 » Fri Sep 07, 2012 7:09 pm

Hello,

i can't change de member name because the difference between the 2 jcl is the version.

On is the old version and the other is the current version of the jcl.

And sometimes, we need to ru the old version or the current version. So we can't change the name of the jcl.
samb01
 
Posts: 236
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: TWS and Load JCL

Postby NicC » Fri Sep 07, 2012 8:28 pm

I suspect you can. Presumably you have 2 versions of the application on TWS and select which one to use - old or new. Simply amend the jobname in either one to match with a rename of the member.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: TWS and Load JCL

Postby Blackthorn » Mon Sep 10, 2012 5:44 pm

Surely you just need to use variable substitution in the appropriate part of the dataset name -

DSN= &OADID..DFR.JCL

or am I missing something?
Blackthorn
 
Posts: 98
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 0 time
Been thanked: 2 times

Re: TWS and Load JCL

Postby dick scherrer » Mon Sep 10, 2012 7:28 pm

Hello,

or am I missing something?
We don't know . . . :?

TS has not posted the jcl for us to review and make suggestions . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: TWS and Load JCL

Postby samb01 » Wed Sep 12, 2012 5:18 pm

Sorry, it's difficult to me to know how you need exactly.

I don't anderstand why you need the jcl ...
It's a simple jcl.

I just want to know if i can user, for example, a worksation UTCA to call the jcl (member01) from the PDS : wsal.efr.jcl

and

use an other Workstation UTCB to call the jcl (member01) from the PDS : dsal.dfr.jcl


because the two jcl has got the same name but not the same content.

the first jcl is dsal.dfr.jcl(member01) :


//COPYPROC EXEC PGM=IEBCOPY                                                   
//SYSPRINT DD  SYSOUT=*                                                       
//I1       DD DSN=BNIZA.BNUTSAB.CNTL,DISP=SHR                                 
//O1       DD DSN=BNIZA.BNUTSAB.CNTL1,DISP=SHR                                 
//SYSIN     DD *                                                               
 COPY INDD=((I1,R)),OUTDD=O1           


the second jcl is wsal.efr.jcl(member01) :

//ALLOC    EXEC PGM=IEFBR14                                             
//DDA      DD   DSN=OPSSTU1.JCL.CNTL,DISP=(,CATLG,DELETE),             
//             UNIT=SYSDA,DSNTYPE=LIBRARY,SPACE=(TRK,(1,1,1)),         
//             LRECL=80,RECFM=FB,BLKSIZE=0                             



thank's for your help.
samb01
 
Posts: 236
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: TWS and Load JCL

Postby NicC » Wed Sep 12, 2012 6:26 pm

So you have 2 OPC applications - one for the old and oner for the new. I presume, but do not know, that you can specify the job library for each application. If not then you need to revamp one or other of the applications with new job names. And saying that you acnnot may not be an option.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: TWS and Load JCL

Postby samb01 » Wed Sep 12, 2012 7:24 pm

Hello,

i can't change the jobname and the difficulty is here....
and i can't specify a joblibrary for each application....
samb01
 
Posts: 236
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 0 time
Been thanked: 0 time

Re: TWS and Load JCL

Postby NicC » Wed Sep 12, 2012 7:38 pm

Then that is that. Nothing can be done. If something MUST be done then change the ADs in OPC
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Next

Return to Other IBM Tools