How to automate the value of ARG to Co:Z Launcher?

General discussion of the Co:Z Toolkit
Post Reply
sctebnt
Posts: 30
Joined: Mon Nov 02, 2009 10:47 pm

How to automate the value of ARG to Co:Z Launcher?

Post by sctebnt »

I am interested in a way to start up coz launcher from a job step, where I can set the value of ARG (currently set as a JCL PARM value) based on logic. For example, if the JCL job is running under RACF user @17171 and wishes to be run under server abc then I want to set ARG to a17171@abc

Is there a way to accomplish this? Can we startup coz launcher from a USS shell instead of the JCL job step level?

Thanks for your help.

- Scott
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

If you leave the "user@host" off the PARM, you can specify then as properties in DD COZCFG:

// EXEC PROC=COZPROC
//COZCFG DD *
target-host = myhost.myco.com
target-user = myuser
//STDIN DD *
....
//

Now all you have to do is to concatenate the COZCFG DD and generate the target-user line into a temporary passed dataset from a simple REXX or COZBATCH (Unix shell) batch job.
Post Reply