>wsAttach ds    xl(l'csAttch)

As Bill Godfrey correctly indicated, the value of L'csAttch is not the 
length of the parameter area. It happens to be "4".
Therefore the MVC only moved 4 bytes and the defined storage area for 
wsAttach was only 4 bytes.

And, if what was posted was truly a copy of your code, it's not clear what 
"csAttach" (the source for the MVC) is since the list form is for a 
different name ("csAttch").

Rather than use L'csAttch, a typical approach is to add an equate such as
csAttch_Len EQU *-csAttch 
right after the list form and then use that equate.

Peter Relson
z/OS Core Technology Design

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to