Passing variables from a script to a Control-M job

Several scripts
Post Reply
User avatar
Derick
Nouveau
Nouveau
Posts: 26
Joined: 22 Jun 2007 12:00

Passing variables from a script to a Control-M job

Post by Derick » 17 Mar 2009 9:50

Hi,

I’m running Control-M 6.3.01 on windows. My question is, what is the easiest way to pass variables from the scripts I run with Control-M back to jobs?

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 17 Mar 2009 2:35

you can write variables in a specific file, used by the next jobs with LIBMEMSYM

regards
Philmalmaison

User avatar
Derick
Nouveau
Nouveau
Posts: 26
Joined: 22 Jun 2007 12:00

Post by Derick » 18 Mar 2009 11:04

Thanks.

Also had that in mind. Another way is to use SETVAR, but the syntax has issues when used on windows.

Do you possibly have another trick or tip for passing variables directly back into the Control-M job from the script you run?

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 18 Mar 2009 11:07

nothing else writing your specific information to a file , and read this file in the second script

regards
philmalmaison

Post Reply