Job with very long command line

All questions about Control-M jobs definitions
Post Reply
User avatar
sandu
Nouveau
Nouveau
Posts: 18
Joined: 08 Sep 2008 12:00
Location: Toronto

Job with very long command line

Post by sandu » 08 Mar 2012 8:35

Is there a way to define a Control-M job with a very long command line (over 999 chars) without creating a script and running the script from the job?

Thank you

hipikll

Post by hipikll » 09 Mar 2012 10:25

Read a manual Parameter Guide. The max lenght of command line is 512.

If you're running newer versions, why not to use Embended scripts?
Read manual about it.

User avatar
sandu
Nouveau
Nouveau
Posts: 18
Joined: 08 Sep 2008 12:00
Location: Toronto

Post by sandu » 09 Mar 2012 3:07

I've tried the autoedit variables. When it resolves them at the runtime, the job will still fail with command line longer than 512 chars.
I'm running 6.3.01. It does not have embedded scripts.

Post Reply