I have a flat file with a set of records. when i tried to read from that file using REXX, I am getting the numbers which are not file. I guess these are line numbers.
My code is:
/*****************************REXX*************************************/
"EXECIO * DISKR DATAIN (STEM NEWVAR."
DO I=1 TO NEWVAR.0
SAY NEWVAR.I
END
"FREE F(DATAIN)"
"EXECIO * DISKR DATAIN (STEM NEWVAR."
DO I=1 TO NEWVAR.0
SAY NEWVAR.I
END
"FREE F(DATAIN)"
The Output I am getting is like:
NBDKYGS.REXX.OUT1
00000100
NBDKYGS.REXX.OUT2
00000200
NBDKYGS.REXX.OUT3
00000300
But i dont want those numbers in the middle ( 00000100, 00000200 ...)
Please help me.