On Thu, 10 Jul 2008 13:55:27 -0500, Laine, Rogers <[EMAIL PROTECTED]> wrote:
>This question is for users of Control-M (Scheduler) > >I would like to set a user-defined variable to be used in the JCL of a >job submitted by Control-M(CTM). > >So if I specify %%VAR1=job list what I get is the first full word >(job) not the full text of (job list). > >If I use %%VAR1=job_list I get the full text of (job_list). > >So my question is how do I specify a full text without needing to put a >_ (underscore)? > >Thanks, > >Rogers Out of curiosity, I RTFM (at the link below), and there is DOC on this topic, under "AutoEdit Assignments" also called SET VAR or SETVAR. Mention is made about embedded blanks being considered Invalid Characters, however leading blanks are valid. http://documents.bmc.com/supportu/documents/80/92/48092/48092.pdf Untested but one possible alternative may be to have multiple SETVAR assignments and then have another that combines the previous ones. %%V1=THIS %%V2=IS %%V3=IT %%V= %%V1 %%V2 %%V3 Scott Barry SBBWorks, Inc. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html