Spoolfactory - Spool Converter Pro: Spool Conversion Software For I5/Iseries/As400
Spoolfactory - Spool Converter Pro: Spool Conversion Software For I5/Iseries/As400
Spool Converter Pro can help to export the content of the reports by mean of spool to XML conversion
Page 2
1 2
3
4 5
Page 3
Software Description
Page 4
Software Description
Save file available for downloading Restore the objects and start to use the software
Easy learning
For non-technical users, Spool Manager is the interface to convert the spool files
The whole conversion process is entirely done in native mode OS400 or i5/OS
Images can be added to the image catalogue in the System i environment with a supplied and easy to use tool
Command mode Command mode allows to call the converter from CL programs After spool conversion, it is possible to call a user program to execute other for developers actions with the generated file
Page 5
Software Arquitecture
Page 6
Page 7
Sample Conversions
Simple XML Conversion
Page 8
Date Item Reference Description Amount Price/Unit Total Price ============================================================================= 02/02/09 02/12/09 02/15/09 02/16/09 02/18/09 02/20/09 02/25/09 02/26/09 2112-12234-112 4232-14783-143 1212-33443-253 1442-25463-683 6512-13533-843 1532-14353-167 3712-14353-226 1382-25433-842 Software Software Software Software Software Software Software Software Nbr Nbr Nbr Nbr Nbr Nbr Nbr Nbr 1 2 3 4 5 6 7 8 2 1 3 1 3 1 1 1 1,000.00 500.00 600.00 800.00 500.00 2,500.00 3,000.00 300.00 Total 2,000.00 500.00 1,800.00 800.00 1,500.00 2,500.00 3,000.00 300.00 12,400.00
Page 9
Action . . . . . . : Active . . . . . . :
Title
. . . . . . : Sales Report
Only for Excel At Row . . . . . . : At Column . . . . : Empty rows after title . . . : Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . . : N (Y/N) Italic . : N (Y/N) Underline: N (Y/N) Alignment: C (C/L/R) Only for XML First XML level . . . . : (By default: document)
F3=Exit
F23=Delete
Title identification is optional. If it is specified, then it will appear at the <document title> XML tag
Page 10
F3=Exit
F23=Delete
We identify the records to process, by selecting records containing numeric value for decimal part of Price/Unit field.
Other options: decimal point of Price/Unit field, slash of date, other numeric values, or *NUMEDIT function for numeric fields containing symbols and blanks spaces. Important: If we use the Total Price field to identify the record, then we will process the Total record. Note: The Description field will appear as record identification in the XML file, at this case <SalesDetail>
Page 11
. . . : Date
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic Y/N Apply Right to Left (Hebrew/Arabic): Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
We define the positions from/until where the field is located in the record, at this case positions 3 to 10 for Date
Note: we have defined the name Date for the field, and it matchs with the header description in the record, but we can specify any name we want for this field. It is the name which appears in the XML file. If we define a name with several words, the converter will merge the words by eliminating the spaces.
Page 12
. . . : Reference
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Page 13
. . . : Description
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Page 14
. . . : Amount
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Page 15
. . . : Unit Price
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Page 16
. . . : Total Price
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Page 17
Result obtained when the converter applies the previously defined rules
Page 18
Page 19
Sample Conversions
XML with Multi Record Processing
Page 20
Date Item Reference Description Amount Price/Unit Total Price ============================================================================= 02/02/09 02/12/09 02/15/09 02/16/09 02/18/09 02/20/09 02/25/09 02/26/09 2112-12234-112 4232-14783-143 1212-33443-253 1442-25463-683 6512-13533-843 1532-14353-167 3712-14353-226 1382-25433-842 Software Software Software Software Software Software Software Software Nbr Nbr Nbr Nbr Nbr Nbr Nbr Nbr 1 2 3 4 5 6 7 8 2 1 3 1 3 1 1 1 1,000.00 500.00 600.00 800.00 500.00 2,500.00 3,000.00 300.00 Total 2,000.00 500.00 1,800.00 800.00 1,500.00 2,500.00 3,000.00 300.00 12,400.00
Multi record processing allows to retrieve additional information than the retrieved with the main pattern. In red color is marked the data to retrieve in addition to the information retrieved using the previous example.
Page 21
F3=Exit
F23=Delete
As we are going to have several records, we have to associate a name to each record. In our case, we give the name SALESREC to the previously created record.
Page 22
. . . : Date
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
And next step is to associate SALESREC record to all the previously created fields to retrieve. In this example, we perform this action to the field Date but we have to do the same for the rest of fields.
Page 23
F3=Exit
F23=Delete
Now we are going to define a new record for Customer and we give the name CUSTOMREC This is the part of the spool we want to process:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 Customer Name: Peter Wilson Jackson
Page 24
. . . : Name
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
And next step is to define the field (Name) to retrieve, associating this field to the new record CUSTOMREC
Page 25
Page 26
Sample Conversions
XML with Nested Levels
Page 27
25 64
Record Name . . . : DATEREC Only for XML Multi Record Processing It belongs to record: SALESREC (Optional - Maximum five nesting level)
? Y F23=Delete
The obtained XML result could not solve our requirements at the case we need to organize the information in levels. When there are nested levels, for each lower level (record) we have to specify to which level (record) belongs. And we are requested to indicate if the data to retrieve are in the same line that the record to which belongs. At this case we are going to create the record Date to group the fields Day, Month and Year.
Page 28
. . . : Day
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Page 29
. . . : Month
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Page 30
. . . : Year
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Page 31
Record Name . . . : RESTREC Only for XML Multi Record Processing It belongs to record: SALESREC (Optional - Maximum five nesting level)
? Y F23=Delete
We create the new record RESTREC, belonging to SALESREC, to group the rest of the fields.
Page 32
. . . : Reference
Only for Excel Width of Column . : Empty columns previous to this field . : Width of empty columns . . . : Format of Header Field Size of Font . . . . 12 Color of text (F4=Select) Black (Default) Bold . : N Y/N Italic : N Y/N Underline: N Y/N Alignment: C C/L/R Force to Alphabetic N Y/N Apply Right to Left (Hebrew/Arabic): N Y/N F3=Exit F10=View SplF QPRINT 007689/SPLFACDEV/QPADEV000B (0006) F23=Delete
Now we associate the rest of the fields to the new record RESTREC. In this screen as example we associate the field Reference, and we have to do the same with the rest of fields.
Page 33
Page 34
References
Company
JVC USA Acum Instec Software Solutions Inc. Grupo Andreani Kuhn Holding Factory 2-U Conte of Florence Golden West Globalsoft Jan Dupont
Country
United States Israel Canada Argentina The Netherlands United States Italy United Kingdom Turkey Belgium
Page 35
www.spoolfactory.com
Page 36