Please enable JavaScript to view this site.

Manual InterForm400 English 2023

Navigation: Spooled files

Spooled file identification

Scroll Prev Top Next More

For spooled file identification in general these 5 parameters are usually enough:

 

Job name

The name of the job, that created the spooled file.

 

Job number

The job number of the job, that created the spooled file.

 

User

The user profile that created the spooled file.

 

The spooled file name

The name of the spooled file - shown on the very right on e.g. a WRKOUTQ.

 

The spooled file number

The number identifying the spooled file created by the specified job.

 

 

On InterForm400 commands you can of course identify the current job as * for the job name.

 

With V4R5 the spooled file number was extended from 4 digits to 6 and the full 6 digits are of course supported by InterForm400.

 

Multiple Identical spooled files

In some, rare InterForm400 installations the customers are saving very old spooled file, so that there are multiple spooled files with the same identification:

The same job, job number, user, spooled file name and spooled file number.

 

If you try to select a spooled file with the 5 parameters above the operating system will give you this error message:

 

 

                       Select Message Details to Display                        

                                                            System:   PMK250  

Message ID . . . . . . . . . :   CPF3340                                      

Message file . . . . . . . . :   QCPFMSG                                      

  Library  . . . . . . . . . :     QSYS                                        

Message text . . . . . . . . :   More than one file with specified name found i

n job &5/&4/&3.                                                                

                                                                               

Select one of the following:                                                  

                                                                               

     1. Display message text                                                  

     2. Display field data                                                    

                                                                               

     5. Display message attributes                                            

                                                                               

    30. All of the above                                                      

                                                                               

                                                                               

                                                                               

Selection                                                                      

                                                                               

                                                                               

F3=Exit   F12=Cancel                                                          

 

 

This is not a problem for normal operation in InterForm400 as Auto Forms Control is also using the Name of the system, that created the spooled file as well as the time stamp of the spooled file.

 

If you get this error you should consider the options:

 

1.Delete the old spooled files to remove the duplicates.

2.Alternatively you can include the full identification of the spooled file - including the System name and the time stamp. This is supported in all InterForm400 functionality including all commands - except the functionality below:

 

 

Functions not supporting identical spooled files

These InterForm400 functions below does not support the ability to identify the spooled files with the system name and time stamp:

 

1.Function 3=Transform AFPDS to *USERASCII in Auto Forms Control.

2.The command, APF3812/AFPTOASCII.

3.Function, G=Archive to MultiArchive/400 in Auto Forms Control.

4.Programs called from Auto Forms Control with function 8=Call Program need to use parameter list 2 instead of 1 in order to support identical spooled files. The standard program APF3812/FUNKT_8 (source found in member FUNKT_8 inside source file APF3812/APISRC) does not support identical spooled file. It is necessary to programs based on the source member FUNKT_8_2 inside source file APF3812/APISRC and call the program with parameter setting 2.