Running a Phantom process

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

Running a Phantom process

Post by attu »

If a dsjob command is used from command line with nohup.

Code: Select all

 nohup dsjob -run projct job & 
what would be the impact if the unix session timesout?
Would it still run without a broken connection (81002).


Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:? There's no need for that. The dsjob command with none of the wait options already spawns a nohup'd background task.
-craig

"You can never have too many knives" -- Logan Nine Fingers
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

Post by attu »

What if the session is timed out, and we get a broken connection error 81002, despite the fact the job completed successfully.
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

Post by attu »

What if the session is timed out, and we get a broken connection error 81002, despite the fact the job completed successfully.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What about it? Is that why you are asking about nohup - you are getting timeout errors? The client can disconnect or timeout without effecting any of the background processes it started.
-craig

"You can never have too many knives" -- Logan Nine Fingers
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

Post by attu »

Chulett, Thanks for replying promptly.

The job finishes successfully from the command line with following messages

Error 81002 waiting for job
status code 141

How do we determine and settle this warning.


Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Hmmm... search for the 81002 error turned up a few posts, inlcuding this one:

viewtopic.php?t=98411

As for the 141 error, you'll need to search the forums for that one as well, however I don't believe any conclusive reason was found for it. You'll probably need to take that to your official support provider for resolution if it sticks around as a problem.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply