2. Transferthe page segment file to the temporary resource file by using the

CPYFRMPCD command.

3. Create the page segment by using the CRTPAGSEGcommand.

Fill in the fields as as shown in the panel above to create an iSeries page segment.

Create Physical File (CRTPF)
Type choices, press Enter.
File..............FILE > TEMPPF
Library . .......... > QTEMP
Sourcefile ..........SRCFILE QDDSSRC
Library . .......... *LIBL
Source member . . . . . . . . . SRCMBR *FILE
Record length, if no DDS . . . . RCDLEN 32766
Generation severity level . . . GENLVL 20
Flagging severity level ....FLAG 0
File type ...........FILETYPE *DATA
Member, if desired . . . . . . . MBR *FILE
Text description. . . . . . . TEXT Temporary File
Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys

Figure 118.Create Temporary Resource File

Copy From PC Document (CPYFRMPCD)
Type choices, press Enter.
From folder ..........FROMFLR resource
To file . . . . . . . . . . . . TOFILE temppf
Library . .......... qtemp
From document . . . . . . . . . FROMDOC newimg.psg
To member ...........TOMBR *FIRST
Replace or add records . . . . . MBROPT *REPLACE
Translate table . . . . . . . . TRNTBL *none
Library . ..........
Format of PC data . . . . . . . TRNFMT *notext
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys

Figure 119.Copy Page Segment to Temporary File

Create Page Segment (CRTPAGSEG)
Type choices, press Enter.
Page segment..........PAGSEG newimg
Library . .......... *CURLIB
File..............FILE temppf
Library . .......... qtemp
Member.............MBR *PAGSEG
Text description. . . . . . . TEXT New Page Segment
Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys

Figure 120. Create Page Segment (CRTPAGSEG)panel

118 APU User’s Guide