Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


3.7.4 How to specify the standard input and output as the input source and output destination of the user-reply functionality

Because the adshecho and adshread commands issue JP1 events, these commands terminate with an error if they are used in an environment that does not have JP1/Base or JP1/IM, such as when job definition scripts are debugged. To enable the user to debug job definition scripts in such cases, the user-reply functionality provides the following functions:

You use the USERREPLY_DEBUG_DESTINATION parameter to specify whether JP1 events are to be issued or the standard input and output are to be used when the adshecho and adshread commands are used. Specify the USERREPLY_DEBUG_DESTINATION parameter in the system environment file or the job environment file. You can also set the input source and output destination of character strings to the standard input and output by specifying the -d option in the adshecho and adshread commands.

The function for setting the input source and output destination for the user-reply functionality to the standard input and output is enabled only during debugging (performed by using adshexec -d in UNIX and in the development environment in Windows). When you use this function, the JP1/Base, JP1/Integrated Management - Manager, and JP1/Integrated Management - View programs that are related to the user-reply functionality are not needed. There is also no need to start the user-reply functionality's management daemon or service.

Note that the following parameters are ignored: