HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using cataloged procedures

HLASM Programmer's Guide
SC26-4941-06

Often you use the same set of job control statements repeatedly; for example, to specify the assembly, linking, and running of many different programs. To save programming time and to reduce the possibility of error, standard sets of EXEC and DD statements can be prepared once and cataloged in a procedure library. Such a set of statements is termed a cataloged procedure and can be invoked by either of the following statements:
//stepname EXEC procname
//stepname EXEC PROC=procname

The specified procedure (procname) is read from the procedure library (SYS1.PROCLIB) and merged with the job control statements that follow this EXEC statement.

This section describes four IBM cataloged procedures: a procedure for assembling (ASMAC); a procedure for assembling and linking (ASMACL); a procedure for assembling, linking, and running (ASMACLG); and a procedure for assembling and running the loader (ASMACG).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014