Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loop and use of queue

Status
Not open for further replies.

CDMZZZ

Technical User
Jan 30, 2008
4
GB
Hi

I am looping through a file and writing out records using the Queue function,however if more than one occurance is found in the file how do I tell REXX to queue both at the moment its just writing out the last record. See code below.


"EXECIO * DISKR INDD (FINIS stem IN."
cnt = 0
DO LOOP = 1 TO IN.0
IF SUBSTR(IN.LOOP,26,3) = "JCL" THEN
error=STRIP(SUBSTR(IN.LOOP,1,133))
end
queue error
"ExecIO "Queued()" DiskW OUTDD (Finis)"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top