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 |
B |
Spool File Number. The spooled file number of the specified file. |
89 |
98 |
10 |
A |
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 |
118 |
10 |
A |
Status. The status of the file e.g. *READY. (v7.0.00) |
119 |
128 |
10 |
A |
File available. The time when this file becomes available to an output device for processing e.g. *IMMED. (v7.0.00) |
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 |
10 |
A |
Save file after written. Whether this file is to be saved after it is written e.g. *NO. (v7.0.00) |
149 |
152 |
4,0 |
B |
Total pages. The number of pages this printer file contains. |
153 |
156 |
4,0 |
B |
Page or record being written. The page number or record number currently being written. (v7.0.00) |
157 |
160 |
4,0 |
B |
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 |
B |
End Page Number. The page at which printing is to end for the file. 0 or 2147483647 indicates the last page. |
165 |
168 |
4,0 |
B |
Last page printed.The number of the last printed page in the file if printing ended before the job completed processing. (v7.0.00) |
169 |
172 |
4,0 |
B |
Restart printing. The number of the page where printing restarts. (v7.0.00) |
173 |
176 |
4,0 |
B |
Total copies. The total number of copies to be produced for this printer file. |
177 |
180 |
4,0 |
B |
Copies left to produce. The remaining number of copies to be produced on the printer. (v7.0.00) |
181 |
184 |
4,0 |
B |
Lines per inch. The number (in tenths) of lines per vertical inch defined in the printer file. A value of 60 indicates 6 lines per inch. (v7.0.00) |
185 |
188 |
4,0 |
B |
Characters per inch. The number (in tenths) of characters per horizontal inch, defined in the printer file. The value 100 indicates 10 characters per inch. (v7.0.00) |
189 |
190 |
2 |
A |
Output priority. The priority of the output file. The priority ranges from 1 (highest) to 9 (lowest). (v7.0.00) |
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 |
B |
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 |
B |
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 |
263 |
10 |
A |
Device file name. The name of the device file used to create the spooled file. (v7.0.00) |
264 |
273 |
10 |
A |
Device file library name. The name of the library that contains the device file. (v7.0.00) |
274 |
283 |
10 |
A |
Program that opened file name. The name of the program that opened the spooled file. (v7.0.00) |
284 |
293 |
10 |
A |
Program that opened file library name. The name of the library that contains the program that opened the file. (v7.0.00) |
294 |
297 |
4,0 |
B |
Page length. The page length (in lines per page) used by the spooled file. (v7.0.00) |
298 |
301 |
4,0 |
B |
Page width. The page width (in characters per printed line) used by the spooled file. (v7.0.00) |
302 |
311 |
10 |
A |
Character set name. The name of the font character set object used to print this file. Either *FONT or the name of the font character set object to use. (v7.0.00) |
312 |
321 |
10 |
A |
Character set library name. The name of the library containing the font character set object. (v7.0.00) |
322 |
331 |
10 |
A |
Code page name. The name of the code page used to print this spooled file. (v7.0.00) |
332 |
341 |
10 |
A |
Code page library name. The name of the library containing the code page used to print this spooled file. (v7.0.00) |
342 |
2000 |
Not used at present |