Справочник Пользователя для Intermate AS/400

Скачать
Страница из 490
478
    User’s Manual for InterForm400
®
 Transfer to production . . . . . TFRPROD    *YES___        *YES, *NO, *PROMPT  
 Display errors . . . . . . . . . DSPERR     *YES           *YES, *NO   
                                                                  
Restrictions:
This command can only run from an interactive job.
Parameters:
SAVF
This is required. Specifies the qualified name of the save file to be
used to restore the resources.The name of the save file can be
qualified by one of the following library values:
*LIBL: 
All libraries in the job's library list are searched until the first match
is found.
*CURLIB: 
The current library for the job is searched. If no library is specified
as the current library for the job, the QGPL library is used.
Library-name:  Specify the name of the library to be searched.
Optional Parameters:
TFRPROD
Specifies whether resources are transferred to production in
InterForm400:
*YES: 
Copy resources to the import library APFIMPORT and then
transfer all resources to production (the InterForm400 system).
*PROMPT
Copy resources to the import library APFIMPORT and then
prompt the user whether to transfer all resources to production
(the InterForm400 system).
*NO: 
Only import resources to the import library APFIMPORT.
DSPERR
Specifies whether any errors are displayed when running the
IMPAPFRSC command:
*YES: 
Display errors.
*NO: 
Do not display errors.
Examples
Example 1: Copy all resources from the CUSTINVLIB/EXPORT.INV save file to the import
library APFIMPORT and then transfer all resources to production (the InterForm400
system):
IMPAPFRSC SAVF(CUSTINVLIB/EXPORT.INV)
Example 2: Copy all resources from the CUSTINVLIB/EXPORT.INV save file to the import
library APFIMPORT and then prompt the user whether to transfer all resources to
production (the InterForm400 system):
IMPAPFRSC SAVF(CUSTINVLIB/EXPORT.INV) TFRPROD(*PROMPT)
Example 3: Copy all resources from the CUSTINVLIB/EXPORT.INV save file to the import
library APFIMPORT and then transfer all resources to production (the InterForm400
system). In case of an error no display is shown:
IMPAPFRSC SAVF(CUSTINVLIB/EXPORT.INV) DSPERR(*NO)