Backgroup job using nohup

Hi,

I ran a program like following

sample.sh &

Later I realized that this job will take more hours to complete. Since it consumed 2 hours dat aprocessing and I don't want to terminate and then start the job like
nohup sample.sh &

Can you please tell me, is it possible to make this job no hangup with out terminating it ?

Shahnaz.

In bash:

disown -h %[jobid]

Thank you.

I don't have bash shell in unix flavour. My Os is AIX 5.2 and my script runs under Korn shell.

Hi.

On AIX, you can try using

nohup -p PID

Thank you.
I can use option -p from AIX 5.3 onwards but my version was 5.2 !

Thanks,
Shahnaz.

Hi.

The version of AIX I use is 5.1. The page at man ksh includes the text:

Simply trying command disown in ksh93 yields:

$ disown xx
ksh93: disown: xx: Arguments must be %job or process ids.

Perhaps that will work on 5.2, 5.3 ... cheers, drl