Hi,

I have a question about using fork() in a C program. In SDSF, command PS, I 
can see the new child process, and there I see it has the same jobname as 
the process that did the fork(), but it has a different JobID.

So, since it is apparently a different job than the job that did the fork(), I 
expected to see two jobs when I go to SDSF command ST. But I only see the 
one initial job.
And in that job I can't see any SYSOUT output of the child process, nor any 
SYSxxxx logs that it created using fopen("//*", "wt"), only the ones from the 
parent process.

Does anybody know why I don't see the second job in SDSF/ST ? Or, 
alternatively, does anyone know how I can have the child process put its 
output within the parents job output, so I can see it when I select the parent 
job in SDSF/ST ?

Thanks,

Etienne

----------------------------------------------------------------------
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

Reply via email to