Hello,
I'm a beginner in REXX language , i'm trying to use à variable for the DDNAME parameter in EXECIO command :
"ALLOC F(OUT1) DA('FILE.OUT1') OLD"
"ALLOC F(OUT2) DA('FILE.OUT2') OLD"
LL1 = "SAMPLE LINE"
FILEW = "OUT1"
"EXECIO 1 DISKW FILEW (STEM LL1)"
FILEW = "OUT2"
"EXECIO 1 DISKW FILEW (STEM LL1)"
Result => IRX0555E The input or output file FILEW is not allocated.
Can someone could help me ?
Thank you.
I'm a beginner in REXX language , i'm trying to use à variable for the DDNAME parameter in EXECIO command :
"ALLOC F(OUT1) DA('FILE.OUT1') OLD"
"ALLOC F(OUT2) DA('FILE.OUT2') OLD"
LL1 = "SAMPLE LINE"
FILEW = "OUT1"
"EXECIO 1 DISKW FILEW (STEM LL1)"
FILEW = "OUT2"
"EXECIO 1 DISKW FILEW (STEM LL1)"
Result => IRX0555E The input or output file FILEW is not allocated.
Can someone could help me ?
Thank you.