It is currently 25 Apr 2018 4:17


Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 10 Oct 2009 6:28 
Offline
Nouveau
Nouveau
User avatar

Joined: 27 Aug 2008 12:00
Posts: 5
All,
Can anyone explain what a task type detached is?? The reason I ask is that when I schedule a job as task type job that "calls" a perl program, I get messages back like "print command not found" like there is a problem with "sourcing" or an environment issue. I have experimented with different variables etc. The only way I've gotten this program to run is by using task type command or detached. I need access to the sysout from this job, so I can't really use the command option and I don't really know what detached task type is.

My question is: What is the detached task type? What is different about it versus a job?

I have searched, unsuccessfully, to find any explanation of the various task types. Can someone please shed some light on this?

Thanks in advance for any assistance with this.....

Kevin Kirwan


Top
   
 Post subject:
PostPosted: 12 Oct 2009 11:23 
Offline
Nouveau
Nouveau
User avatar

Joined: 19 Mar 2009 12:00
Posts: 148
Location: Delhi
Hi,

Deffinations for different task types are:-

Job A regular job submitted to CONTROL-M for
execution as a background process. The results of the
job (the output) are analyzed by the post-processing
subsystem.

Detached This type is similar to Job but also includes .EXE type
files.

Command Operating system command (defined in the
Command parameter) sent to the operating system to
be executed as a job.

Dummy CONTROL-M internal job. This is a dummy job that
is not executed, but that can be used to execute the
post-processing actions Out Conditions and Shout.
Its completion status is always OK.

External Enables CONTROL-M to track jobs whose state
changes are determined outside CONTROL-M (that
is, jobs run on external applications, such as SAP)

Regards,
Rahul Sehgal


Top
   
 Post subject:
PostPosted: 12 Oct 2009 11:32 
Offline
Nouveau
Nouveau
User avatar

Joined: 13 Jul 2006 12:00
Posts: 134
Location: Switzerland
If my memory serves correctly, detached was introduced for use with VAX/VMS plaforms.


Top
   
 Post subject:
PostPosted: 12 Oct 2009 11:53 
Offline
Nouveau
Nouveau
User avatar

Joined: 19 Mar 2009 12:00
Posts: 148
Location: Delhi
Hi,

We can also use Detached with Windows, Unix OS.

Regards,


Top
   
 Post subject:
PostPosted: 12 Oct 2009 4:08 
Offline
Nouveau
Nouveau
User avatar

Joined: 27 Aug 2008 12:00
Posts: 5
Thanks for the info.
What's weird is that when I submit a job (perl program) passing %%PARM1 and %%PARM2, I get messages that appear to indicate that there is some sort of pathing issue (ie. "print command not found" , etc.).

When submitting the same job as detached, I get no such error messages.

I'm just curious as to what is behind this and why it worked as a detached job....

Thanks again

Kevin


Top
   
 Post subject:
PostPosted: 12 Oct 2009 4:46 
Offline
Nouveau
Nouveau
User avatar

Joined: 19 Mar 2009 12:00
Posts: 148
Location: Delhi
Sorry kckirwan,

Never Used Detached for my jobs and not sure why you are receiving this error, I never received this kind of error for the Perl jobs. But Defination of Detached is it is used for .exe files, may be it also work on perl scripts, but not sure abt this.

Regards,


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved