Please enable JavaScript to view this site.
The data area SPLATR is created by the CRTPPD program and will remain in QTEMP until the next CRTPPD command is processed.
Cobwebb have supplied some sample RPGLE source [versions after 6.2.24] which includes the data area definition - see the member RTVSPLATR in QUSRTOOLLE source file in the CPPD library.
Data Area Definition
The total size of the data area is 2000.
Note: Entries in the following table with their Description in blue are returned by the supplied COBSPLATR Exit Program.
Start |
End |
Length |
Type |
Description |
1 |
48 |
Not used at present |
||
49 |
58 |
10 |
A |
Job Name. The name of the job that owns the spooled file |
59 |
68 |
10 |
A |
User Name. The name of the user that owns the spooled file |
69 |
74 |
6 |
A |
Job Number. The number of the job that owns the spooled file |
75 |
84 |
10 |
A |
Spool File Name. The name of the spooled file whose information is retrieved |
85 |
88 |
4,0 |
Binary |
Spool File Number. The spooled file number of the specified file |
89 |
98 |
Forms Type. The type of form to be loaded in the printer to print this file |
||
99 |
108 |
10 |
A |
User-defined data. Data defined by the user to be used by user applications or user-specified programs that process spooled files. The following values are supported: *NONE No user-defined data is specified. User-defined data Data defined by the user. |
109 |
128 |
Not used at present |
||
129 |
138 |
10 |
A |
Hold file before written. Whether the file is held. The hold parameter handles this function on a Create Printer File (CRTPRTF), Override Printer File (OVRPRTF), or Change Printer File (CHGPRTF) command. The possible values are: *YES The file is held *NO The file is not held |
139 |
148 |
Not used at present |
||
149 |
152 |
4,0 |
Binary |
Total pages. The number of pages this printer file contains |
153 |
156 |
Not used at present |
||
157 |
160 |
4,0 |
Binary |
Start Page Number. The page at which printing is to start for the file. The possible values are: 0 Printing starts on page 1. -1 Use the ending page value. 1-2147483647 Number of page to start printing from. |
161 |
164 |
4,0 |
Binary |
End Page Number. The page at which printing is to end for the file. 0 or 2147483647 indicates the last page. |
165 |
172 |
Not used at present |
||
173 |
176 |
4,0 |
Binary |
Total copies. The total number of copies to be produced for this printer file |
109 |
190 |
Not used at present |
||
191 |
200 |
10 |
A |
Output Queue Name. The name of the output queue where the file is located. |
201 |
210 |
10 |
A |
Output Queue Library. The name of the library that contains the output queue. |
211 |
214 |
4,0 |
Binary |
Source Drawer. The drawer to be used when the automatically cut form feed option is selected. The possible values are: 1-255 The drawer number. -1 *E1, the envelope drawer. -2 *FORMDF, indicating that the file uses a user-specified form definition. This value is used only for *LINE, *AFPDS, *IPDS, *SCS, or *AFPDSLINE printer device type files. |
215 |
218 |
4,0 |
Binary |
CCSID. The coded character set identifier (CCSID) used when the user-defined text was created using the Change User Print Information (CHGUSRPRTI) command. |
219 |
220 |
Not used at present |
||
221 |
227 |
7 |
A |
Printed Date. Date file opened (created) The date, based on local job time, that the file was opened in the CYYMMDD format where: C Century, where 0 indicates years 19xx and 1 indicates years 20xx. YY Year MM Month DD Day |
228 |
233 |
6 |
A |
Printed Time. Time file opened (created) The time, in local job time, that the file was opened in the HHMMSS format where: HH Hour MM Minutes SS Seconds |
234 |
243 |
10 |
A |
Graphic Character Set. The set of graphic characters to be used when printing this file. For *DEVD, the system gets the graphic character set from the printer device description. |
244 |
253 |
10 |
A |
Code Page. The name of the code page used to print this spooled file. |
254 |
2000 |
Not used at present |