Send print data from MVS S/390 to an i5/OS™ output queue

These commands, when issued by an MVS™ S/390®, place the Advanced Function Presentation™ data stream (AFPDS) spooled file into the output queue of the specified user on an iSeries™. These commands are job control language (JCL) commands. Do not place a P1 (for PAGEDEF) or an F1 (for FORMDEF) in the instructions.

In the following example, a form definition named MYFORM is used. The user is userone and the node name is is002.

//INSTR 		PROC 		NODE='is002',USER='userone' 
							INFILE='dept265.userx.files(report)' 
//SPOOL 		EXEC 		PGM=IEBGENER 
//MYOUT 		OUTPUT 	DEST=NODE..USER, 
							COPIES=1, 
							FORMDEF=MYFORM 
//SYSPRINT DD 			SYSOUT=* 
//SYSIN 		DD 		DUMMY 
//SYSUT1 	DD 		DSN=&,DISP=SHR,DCB=(RECFM=FBA); 
//SYSUT2 	DD 		SYSOUT=A,OUTPUT=*.MYOUT 
// PEND 
//STEP01 	EXEC 		PROC=INSTR