Programming Languages JCL Subjective
Mar 15, 2013

Discuss about changing Dataset name in PROC.

Detailed Explanation

Dataset name can be changed by overriding from the calling job. One of the ways of using JCL overriding is in the form of PROCSTEP.PROCDD DD DSN=[overriding dsn name]. This works pretty good, provided the same dataset is used for overriding.

Another method of overriding DSN is by changing the proc dsn to a variable. A “&” proc pram is used by this process. The benefit is enforcing a dsn passing. In case the default is left blank and not overridden the job would crash with DSNF.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback