I am new to REXX. I am interested to write small programs.
At first I tried to Copy a Dataset to NEW Dataset.
"Alloc DA(Xxx.Test.Input) F(INDD) SHR REUSE"
"Alloc DA(Xxx.Test.Output) F(OUTDD) MOD REUSE"
SAY 'Copying ...'
"EXECIO * DISKR INDD (FINIS"
QUEUE '' /* Insert a null line at the end to indicate end of */
"EXECIO * DISKW OUTDD (FINIS"
SAY 'Copy complete.'
"FREE F(INDD OUTDD)"
But it is saying not able to access the input dataset.
Your help is very much appreciated.
I have just programming this for learning.