The calls for the migration would be as follows...
Origination server:
CALL PGM(VVEXPORT) PARM(type id errFlag errMsg)
- type (20A): DATA_SOURCE or WIDGET or APP
- id (15p 5): the ID of the data source / widget / app
- errFlag (1A): will return a '1' if an error was encountered
- errMsg (1024A): will return error message text if any error is encountered
Destination server:
CALL PGM(VVIMPORT) PARM(type savfName savfLib toLib mode errMsg)
- type (20A): DATA_SOURCE or WIDGET or APP
- savfName (10A): the name of the save file created by VVEXPORT
- savfLib (10A): the library in which the save file is located
- toLib (10A): the destination library (Valence instance name) for the NAB object(s)
- mode (10A): 'BATCH_EXEC' to indicate you're executing the import in batch mode
- errMsg (256A): will return error message text if any error is encountered
Leave a comment: