Please enable JavaScript to view this site.

To copy a Spool file or a Database into the Cobwebb Editor use the *F Line Command.  The 'Select popup menu' will be displayed.

The Select popup menu

Enter 1 to copy a Spool file.

Enter 2 to copy a Database file.

F12 to Cancel and return to the Editor.

Select a Spool file

The select Spool file parameters allow you to select which Spool files you want to display.

User profile

*CURRENT

your own UserId - Default

*ALL

all Users

Name

a specific UserId

Output queue and library name

*ALL

all Output queues  - Default

*LIBL

the user library list

*CURRENT

the current library list

Name

a specific Output queue

Form type

*ALL

all Form types

*STD

the standard Form type

Name

only the specified Form Type

User specified data

*ALL

all Spool files

Name

select only Spool files with this User data

Select Spooled file display

The Select spooled file display shows the selected spooled files and allows one or more of them to be viewed or selected into the document.  Use option 2 to select one or more pages from a spooled file.

A maximum of 999 lines can be selected from the Spool file, any more and an error message will be displayed, the remaining lines will be ignored.

Option 1 - Select

Select the complete spooled file to be copied into editor (max. 999 lines).

Option 2 - Select Pages

Select only those pages specified on the next screen (Select Spooled file pages).  One page will be selected if the same 'From' and 'To' page number are entered.

Option 5 - Display

Display the spooled file.

Select a Database file

Any suitable Database file can be copied into the Cobwebb Editor.  This means a physical file which does not contain any packed or binary fields, or other 'nondisplayable' characters.  The record length should not exceed 132; otherwise the data will be lost when transmitted by fax.

Source Files can be copied using the FMTOPT *NOCHK parameter.

From File, From Library, From Member

This is the name of the file you wish to copy; a degree of technical IBM i knowledge is required.  Do not use the copy function unless you know what you are doing.

Copy from record number

nn

select from this record number

*START

select from the first record

Copy to record number

*END

select to the last record (Max. 999 records)

nn

select to this record number (Max. 999 records)

Record format field mapping

Use *CVTSRC if copying a source file.