This works:
ABC MVC JOBNAM,=CL(8)' ' This does not work: JOBNAMLEN EQU 8 ABC MVC JOBNAM,=CL(JOBNAMLEN)' ' Field JOBNAM is defined as: JOBNAM DS CL8 The HLASM manual says this regarding the length modifer for the DC statement: Length Modifier The length modifier indicates the number if bytes of storage into which the constant is to be assembled. It is written as Ln, where n is either a decimal self-defining term or an absolute expression enclosed by parentheses. What am I doing wrong? I'd like the program to adjust itself if someone changes the length of JOBNAM. I've also tried: ABC MVC JOBNAM,=CL(L'JOBNAM)' ' and it fails too. ____________________ Jim Hughes 603-271-5586 "It is fun to do the impossible."
