Step 2 - Define General Purpose Process

The second step in creating a customized submit screen is to define a Process that the custom Submit screen invokes. The following Process is named APROC.

APROC PROCESS SNODE=&SNODE NOTIFY=%USER
STEP1 COPY FROM (PNODE DSN=&DSN1  DISP=SHR) -
    TO (DSN=&DSN2 DISP=(SHR,KEEP))

The SNODE, source file name, and the destination file name specified in the BODY section of the custom submit screen are substituted into the symbolic fields currently in the PROCESS (SNODE, DSN1, and DSN2).