Type ASSEMBLE
Source Lines : 289
Fixes Applied : 0
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [Unmodified]
Module
DMSOPT ( OPTION )
Function
PROVIDE THE FACILITY TO SET DOS/VS DEFAULT OPTIONS IN THE COMMUNICATION REGION FOR USE BY ANY DOS/VS PROGRAM. ALSO, IF NO OPTIONS ARE SPECIFIED IN THE COMMAND LINE, ANY PREVIOUS USER MODIFIED DEFAULT OPTIONS ARE SET TO THEIR ORIGINAL DEFAULT VALUE.
Attributes
DISK RESIDENT MODULE REENTRANT EXECUTES IN TRANSIENT AREA
Operation
1. SET UP NECESSARY ADDRESSABILITIES AND SAVE THE RETURN REGISTER. ACQUIRE SUPERVISOR KEY AND INITIALIZE SOME REGISTERS. VERIFY IF IN CMS/DOS ENVIRONMENT. 2. CHECK THE COMMAND LINE FOR VALID PARAMETERS (DOS/VS OPTIONS) AND SET THE PROPER OPTION FALGS IN THE COMMUNICATIONS REGION FOR EACH VALID OPTION SPECIFIED. 3. IF NO PARAMETERS WHERE SPECIFIED AFTER THE COMMAND NAME IN THE COMMAND LINE, THE NON- STANDARD OPTION BYTES IN THE COMMUNICATIONS ARE RESET WITH THE STANDARD DEFAULT OPTIONS FOR THE CMS/DOS ENVIRONMENT. 4. WHEN ALL PROCESSING HAS BEEN DONE, A SWITCH TO PROBLEM PROGRAM KEY IS DONE, AND A RETURN TO THE CALLER IS MADE PASSING IN REG. 15 THE RETURN CODE OF THE COMMAND.
Calls to Other Routines
NONE