Author: Csongor
Posted: Fri Jun 10, 2016 4:31 pm (GMT 5.5)
I understand. I really appreciate that you make it clear.
Not like I want to prove you wrong, because I pretty sure you know much more than I in this topic. But I tried that:
"ALLOC F(AJMPRINT) DA(xx) SHR"
"ALLOC F(AJMOUT) DA("DSN") SHR"
"AJMCMD ADDRESS AJM(xx)"
"EXTRACT GROUP(xx) NET(xx)"
"FREE FILE(AJMPRINT)"
"FREE FILE(AJMOUT)"
"FREE FILE(AJMCMD)"
Trace: >L> "EXTRACT GROUP(xx) NET(xxx)"
IKJ56500I COMMAND EXTRACT NOT FOUND
Wich means the extract needs the AJMCMD, just like in the original code I posted. And thatway they are processed separately (because they are handled as separate rexx statement). In this case the program acts differently with a semicolon, and with statements in separate lines. Cheers[/code]
Posted: Fri Jun 10, 2016 4:31 pm (GMT 5.5)
I understand. I really appreciate that you make it clear.
Not like I want to prove you wrong, because I pretty sure you know much more than I in this topic. But I tried that:
"ALLOC F(AJMPRINT) DA(xx) SHR"
"ALLOC F(AJMOUT) DA("DSN") SHR"
"AJMCMD ADDRESS AJM(xx)"
"EXTRACT GROUP(xx) NET(xx)"
"FREE FILE(AJMPRINT)"
"FREE FILE(AJMOUT)"
"FREE FILE(AJMCMD)"
Trace: >L> "EXTRACT GROUP(xx) NET(xxx)"
IKJ56500I COMMAND EXTRACT NOT FOUND
Wich means the extract needs the AJMCMD, just like in the original code I posted. And thatway they are processed separately (because they are handled as separate rexx statement). In this case the program acts differently with a semicolon, and with statements in separate lines. Cheers[/code]