Bill, you're a genius. Made the change, now it works as expected. I forgot 
about the structure of PARM when passed to the program. Now I get displays

+Iterate 00001 times    
+Reading record         
+Reading record         

Tried larger values also; all look good. Thanks!

.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-302-7535 Office
[email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Bill Woodger
Sent: Thursday, March 31, 2016 4:42 PM
To: [email protected]
Subject: (External):COBOL Rookie Problem

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 
[email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to