SPOOL PUN TO RSCS TAG DEV PUN zos SYSTEM PUNCH fn ft fm ( NOH Explanation:
SP PUN TO RSCS sets the destination of the PUNCH command on the VM side. RSCS knows to look at the tag data of the incoming files to decide what to do with them. TAG DEV PUN zos SYSTEM sets the tag data destination fields to node zos (replace with the NJE name of your zos system) SYSTEM, which is normally the JES input processor (SYSTEM is a magic word for NJE). PUNCH fn ft fm (NOH takes your virtual card deck stored in fn ft fm (must be RECFM F, LRECL 80) and punches it to RSCS without any special headers (the NOHeader parm). CP tags the virtual card deck with the information from the TAG command, and it ends up in RSCS' virtual reader. RSCS looks at the tag data, slurps up the file and sends it to zOS. All this is covered in the RSCS Users' Guide, albeit somewhat opaquely. Feel free to ask if you have more questions.