Your definition of the parm in the LINKAGE SECTION is incorrect. It must be preceded by two bytes, which is the length of the PARM.
01 parm-stuff. 05 FILLER PIC XX. 05 iterate PIC 9(5). ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN