The Change Spool File function is used to assign a new spool file.
When you invoke this function, the Change Spool File window appears on the Natural Spool Administration screen.
Time 14:25:41 *** Natural Spool Administration *** Date 2002-11-18 User SAG M e n u File 7/411 +-----------Change Spool File------------+ ! ! Information ! Current spool file 7/411 ! ! ! 20 Cross-Reference ! ! 21 Statistics ! -------------------------------- ! 22 Look at Spool File ! ! 23 CALLNAT Handling ! Enter values for new spool file ! ! ! ! Database ID 0____ ! ! File Number 0____ ! Control Functions ! ! ! Adabas Password ! 40 Check Spool File ! ! 41 Logging Data ! Cipher Code ________ ! 42 Create Test Reports ! ! 43 Delete Reports by Date ! ! +----------------------------------------+ Enter values. Command ===> Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Menu Exit CMND |
In the Change Spool File window, enter a valid database ID and file number (maximum is 5 digits). If relevant, enter an Adabas password and cipher code (maximum is 8 characters).
If you enter any incorrect values or if the user profile currently active cannot be found in the new spool file specified, the text in the Change Spool File window reads as shown in the window below:
Time 13:20:15 *** Natural Spool Administration *** Date 2002-10-24 User SAG M e n u File 7/411 +-----------Change Spool File------------+ ! ! Information ! The currently active User Profile ! ! PROF7411 is not defined on the ! 20 Cross-Reference ! target spool file 10/495 ! 21 Statistics ! ! 22 Look at Spool File ! To refresh the assignments, enter ! 23 CALLNAT Handling ! a new user profile which is ! ! defined on the target spool file. ! ! ! ! To ignore, press function key 4. ! Control Functions ! ! ! ! 40 Check Spool File ! New user profile *_______ ! 41 Logging Data ! ! 42 Create Test Reports ! ! 43 Delete Reports by Date ! ! +----------------------------------------+ User profile not found on spool file. Command ===> Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Menu Exit Ignor Canc |
To ignore the assignment to a new user profile but use the user profile currently active instead, press PF4. However, if the user profile currently active has not been defined in the new spool file specified, the report creation process can terminate with an error. Therefore, we recommend that you assign a valid user profile to the spool file. Use an asterisk (*) to select a profile from a list of all profiles available in the spool file, or use asterisk (*) notation to specify a range of profiles.
If the user profile currently active has been defined in the new spool file, the Change Spool File function generates a corresponding window. You can then decide to assign another user profile, ignore a new assignment or use the user profile currently active.
If the date and time format in the new spool file are not identical to the date and time format in the current spool file, the Change Spool File function generates the following output:
Time 14:21:26 *** Natural Spool Administration *** Date 2002-10-24 User SAG M e n u File 7/411 +-----------Change Spool File------------+ ! ! Information ! The currently active time format ! ! differs from the default defined ! 20 Cross-Reference ! on the target spool file: ! 21 Statistics ! ! 22 Look at Spool File ! current: Natural Time ! 23 CALLNAT Handling ! ! ! default from target CPU Time ! ! ! ! ! Control Functions ! To refresh the assignment, press ! ! Enter, or press function key 4 ! 40 Check Spool File ! to ignore. ! 41 Logging Data ! ! 42 Create Test Reports ! ! 43 Delete Reports by Date ! ! +----------------------------------------+ Enter name of user profile, or use * to select. Command ===> Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Menu Exit Ignor Canc |
Press Enter to refresh the assignment and overwrite the current values for date/time with the new values, or press PF4 to maintain the current values.
After the date/time verification, the new spool file is assigned to the user profile and the Change Spool File function terminates with the following screen:
Time 14:21:26 *** Natural Spool Administration *** Date 2002-10-24 User SAG M e n u File 7/411 +-----------Change Spool File------------+ ! ! Information ! Current spool file 7/411 ! ! ! 20 Cross-Reference ! ! 21 Statistics ! -------------------------------- ! 22 Look at Spool File ! ! 23 CALLNAT Handling ! Enter values for new spool file ! ! ! ! Database ID 10___ ! ! File Number 495__ ! Control Functions ! ! ! Adabas Password ! 40 Check Spool File ! ! 41 Logging Data ! Cipher Code ________ ! 42 Create Test Reports ! ! 43 Delete Reports by Date ! ! +----------------------------------------+ Function is completed. Press Enter. Command ===> Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Menu Exit Ignor Canc |