HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert the following cross statement into a for loop

 
panneer
Occasional Contributor

How to convert the following cross statement into a for loop

Im crossing two files A and B over X with TRADE(a field in B) and STATUS(a field in A).From the result,i should delete all records from A with matches with B on the given criterions.
READY A WRITE
READY B SHARED
FIND ALL A CROSS OVER X WITH TRADE="YES" AND STATUS="OK"
ERASE ALL
Since CROSS ALL will not work.I need to convert the above code into a FOR LOOP. Kindly help
1 REPLY
Hoff
Honored Contributor

Re: How to convert the following cross statement into a for loop