Please enable JavaScript to view this site.
This command will allow you to duplicate an existing spooled file whilst at the same time changing some of the spooled file attributes.
This command can be found on the Cobwebb Tools Menu - Option 9. Alternatively, with library CPPD in your Library List, enter DUPSPLF on a command line and press F4=Prompt.
Command Parameters
Spooled file name (SPLFILE)
The name of the spooled file you wish to duplicate.
Job name (JOB)
Enter the specific Job name relating to the spooled file or * to select the current job.
User
If a Job name is specified then you must enter the specific User name relating to the spooled file.
Number
If a Job name is specified then you must enter the specific Job number relating to the spooled file.
Spooled number (SPLNBR)
Enter the specific spooled number relating to the spooled file (1 – 9999), *ONLY to select the ONLY available spooled number (error if more than one) or *LAST to select the LAST spooled number created by the Job.
Lines per inch (LPI)
Use *SAME to keep the same LPI as the original spooled file or else enter a new value - press F4=Prompt for list of valid entries.
Characters per inch (CPI)
Use *SAME to keep the same CPI as the original spooled file or else enter a new value - press F4=Prompt for list of valid entries.
Font (FONT)
Use *SAME to keep the same Font as the original spooled file or else enter a new value - press F4=Prompt for list of valid entries.
Page rotation (PAGRTT)
Use *SAME to keep the same Page Rotation as the original spooled file or else enter a new value - press F4=Prompt for list of valid entries.
Output Queue (OUTQ)
Use *SAME to keep the same Output Queue & Library or else enter a new value - press F4=Prompt for list of valid entries.
Source drawer (DRAWER)
Use *SAME to keep the same Source drawer or else enter a new value - press F4=Prompt for list of valid entries.
Formtype (FORMTYPE)
Use *SAME to keep the same Forms Type or else enter a new value - press F4=Prompt for list of valid entries.
User data (USRDTA)
Use *SAME to keep the same User Data or else enter a new value.
Hold file (HOLD)
Use *SAME to keep the same value or use *YES to Hold or *NO to Release.
Save file (SAVE)
Use *SAME to keep the same value or use *YES to Save or *NO to not Save.
Print on both sides (DUPLEX)
Use *SAME to keep the same value or else enter a new value - press F4=Prompt for list of valid entries.
Output bin (OUTBIN)
Use *SAME to keep the same value or else enter a new value - press F4=Prompt for list of valid entries.
NEW User (NEWUSER)
Use *SAME to keep the same User Id or else enter a new value. This must be a valid IBM i User Id.
NEW Spooled file name (NEWSPLNAME)
Use *SAME to keep the same Spooled file name or else enter a new name.
Delete source file after copy (DLTSPLF)
Use *NO to keep the original Spooled file or *YES to delete it.