Page History
5.12.4 Steps to Import Objects describes how a job can be submitted from within LANSA to import all objects from optical device, magnetic tape or save file.
...
Command Parameter | Call Argument Number / Type | Description |
|---|---|---|
REQUEST | 1 / A(10) | Pass as 'IMPORT' |
PROCESS | 2 / A(10) | Not required - pass as blanks |
FUNCTION | 3 / A(10) | Not required - pass as blanks |
PARM01 | 4 / A(10) | Device or device file name if importing from optical device or magnetic tape. Otherwise pass as blanks. |
PARM02 | 5 / A(21) | Save file name if importing from a save file. Use qualified name form if desired. Otherwise pass as blanks. |
PARM03 | 6 / A(10) | Name of message queue to which messages and inquiries are to be sent. |
PARM04 | 7 / A(6) | Source system type: AS/400. |
PARM05 | 8 / A(80) | Tape File sequence number or optical file name if device name used in PARM01. Default for tape device is *SEARCH if left blank. The optical device name can be up to 80 characters long. |
PARM06 | 9 / A(1) | Import all languages in exported data. Either Y (Yes) or N (No). Applicable to multilingual partitions and compulsory if importing weblets to an IBM i. |
PARM07 | 10 / A(256) | Languages to be imported. Up to 64 x 4 character language code(s) or *ALL to import all languages in list. Only applicable to multilingual partitions. |
PARM08 | 11 / A(4) | Default language. Default is the current language if left blank. Only applicable to multilingual partitions. |
PARM09 | 12 / A(6) | Characters 1-3 Characters 4-6 If OPT, all $$ file processing is ignored. This means that you must have a viable back up of all files being imported, and any existing $$ files for files being imported will remain. CHGPF will be used on files being imported that are DDS based, while the SQL DDL CREATE OR REPLACE will be used on files being imported that are SQL created. |
PARM10 | 13 / A(19) | Characters 1-10. Reserved. Leave blank. |
PARTITION | 14 / A(3) | Name of partition into which objects are to be imported. |
LANGUAGE | 15 / A(4) | Language that system is to use. If not specified, the partition default language will be assumed. |
...