In JCL cataloged procedures (in-stream or cataloged), certain statements are NOT allowed: JOBLIB and STEPLIB statements cannot appear within procedures (they must be in the main job), and null statements (//) are not permitted in procedures. However, DD statements (which define datasets) ARE allowed in procedures.