Transfer Secondary Job (TFRSECJOB)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Transfer Secondary Job (TFRSECJOB) command creates a secondary interactive job at your work station, then transfers control between the primary and secondary jobs. The first time you issue this command, you receive the sign-on prompt for the secondary job. Once you sign on, a secondary job is created, allowing you to receive the basic working display of the new job. Your primary job remains suspended as long as you remain in your secondary job. The next time you issue the TFRSECJOB command, your current job is suspended, and you return to the first job at the point at which you left it. When you sign off either job, you are automatically returned to the remaining job.

There are no parameters for this command.

Top

Parameters

None
Top

Examples

TFRSECJOB

This command causes the job that is currently running to be suspended. If a secondary job does not exist, the SIGNON prompt is displayed. Otherwise, the secondary job resumes running.

Top

Error messages

*ESCAPE Messages

CPF1380
Transfer to secondary interactive job not valid.
CPF1381
Transfer to secondary interactive job not valid.
CPF1383
Transfer to secondary interactive job not valid.
CPF1384
Transfer to a secondary interactive job not valid.
Top