Skip to Content
0
Former Member
Jan 04, 2008 at 02:55 PM

Job and Spools

22 Views

Hi,

In SM36, I create a job with ONE step : run program "prog_1".

Then in a special case, in this program "prog_1" : we submit a second program "prog_2" which create also a log "log_2" . Then we return to "prog_1" to edit a log "log_1".

Resume:

a. a job execute prog_1

b. prog_1 run prog_2 --> display log_2

c. return to prog_1 --> display log_1

In SM37, I would have ONE job with the TWO logs in its spool. But it's not the case, I have only "log_1"....

I try to use options of SUBMIT but without success, have you a solution ?

Note: I don't want to have a job with two steps (prog_1 + prog_2), because prog_2 is not running everytime (it depend if prog_1 create a file on the server)

Regards

Mickael