z/OS TSO/E Programming Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using validity checking routines

z/OS TSO/E Programming Services
SA32-0973-00

Your Command Processor can provide a validity checking routine to do additional checking on a positional operand. Each positional operand can have a unique validity checking routine. Indicate the presence of a validity checking routine by coding the entry point address of the routine as the VALIDCK= operand in the IKJPOSIT, IKJTERM, IKJOPER, or IKJIDENT macro instructions. This address must be within the program that invokes the Parse Service Routine.

The Parse Service Routine can call validity checking routines for the following types of positional parameters:
  • HEX
  • VALUE
  • ADDRESS
  • QSTRING
  • USERID
  • DSNAME
  • DSTHING
  • CONSTANT
  • VARIABLE
  • STATEMENT NUMBER
  • EXPRESSION
  • JOBNAME
  • INTEG
  • Any non-delimiter-dependent parameters.

Parse passes control to the validity checking routine after it has determined that the operand is non-null and syntactically correct. If a DSNAME or USERID operand is entered with a password, parse passes control to the validity checking routine after first parsing both the userid or dsname and the password. If the terminal user enters a list, the validity checking routine is called as each element in the list is parsed. If a range is entered, the Parse Service Routine calls the validity checking routine only after both items of the range are parsed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014