The reason is that IRXEXCOM GET does a MOVE, meaning that you must already have a buffer big enough to hold the data. For a normal GET you can just redo the request with a bigger buffer and IRXEXCOM will tell you how big it needs to be. For GETNEXT however you must start again from the top as a a specific GET will destroy the information that REXX stored for GETNEXT. At least that is how I read the documentation, and experimentation seems to prove it. So perhaps what I really need is a GET LOCATE.
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
