December 20, 2006, 01:00 PM
Craig KozlowWhy not declare the variable first and hold it AS that name?
-SET &HOLDFILE = 'CARHOLD';
TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD AS &HOLDFILE
END
December 20, 2006, 04:45 PM
BlueZoneNaveen :
If you are talking about assigning Hold file data to amper variables, please look up this previous post -
https://forums.informationbuilders.com/eve/forums/a/tpc/...1057331/m/4351077991 .
If you have multiple rows in the hold file, you can put the -READ in a -REPEAT loop like this .
-*
-*
-REPEAT LOOP99 WHILE &IORETURN EQ 0;
-SET &ICNT = &ICNT + 1 ;
-SET &FLD1.&ICNT = &F1X ;
-SET &FLD2.&ICNT = &F2X ;
-SET &FLD3.&ICNT = &F3X ;
-READ HSAVE &......
-LOOP99
-*
And please update your signature, so its easy to answer such Qs.
Hope that helps,
Sandeep Mamidenna