Translations - OPALE - 10.0 - Utilisation
Repagination d'un fichier spool IBM-i/12/en
De MappingDoc
- Create a new Connect project
- Change the name of the format. Click on Properties and call it NEWPAG
- Click on Insert table (.def)
- Browse to the .def file created previously on Opale Server (this will create a Connect table automatically)
- Click on the Spooled file button (on the vertical bar on the left)
- Click on New Block
- Call the block MYBLOCK
- Drag and drop the field PRTDTA from the MYPF table on to the block
- Create 2 variables in the DB table: LINE# and TOTLINE (TOTLINE should be defined as an Input Parameter)
- In the actions of the MYPF table, enter the actions to get the result below:
- Click on Preview , enter 10 for the value of DB.TOTLINE and check that the content of the PF is written with the expected number of lines