Calling IDMSIN01 from an Assembler Program

 Assembler programs can call for IDMSIN01 services by using the IDMSIN01 macro. An Assembler program can gain access to the IDMSIN01 functions by using the IDMSIN01 macro.
idmscu19
 Assembler programs can call for IDMSIN01 services by using the IDMSIN01 macro. An Assembler program can gain access to the IDMSIN01 functions by using the IDMSIN01 macro.
Considerations 
  •  Ensure that R13 points to a standard register save area when calling IDMSIN01 from an Assembler program.
  • A return code is returned in R15. You should check errors with the ERROR= parameter of the IDMSIN01 macro.
  • The syntax does not show Assembler column conventions (label starts in column 1; statement in column 10; continuation line in column 16; continuation character in column 72).
  • Data field or register notation can be used for all function-specific parameters, except those requiring a keyword value.
    • If using data field notation, the program specifies the name of a variable field containing the parameter value.
    • When using register notation, the program specifies a register containing the address of the variable field that contains the parameter value. General registers 2 through 15 can be used and the register reference must be enclosed in parentheses.
  • After changing the SYSCTL DD name, to return to the default state, change the value back to 'SYSCTL' or blank spaces.