jimlocigno4
Programmer
Hi I'm a little rusty on Rexx but have written A REXX program that reads two input files, does some manipulation on them and writes a third file. The rexx works fine when executed in the forground. My question is about Running REXX in batch.
1) Currently I have the rexx coded to allocate the two input files and one output file in the rexx script using ALLOC command. I thought that when I ran REXX in batch I would use normal JCL commands to allocate the files and just use the DDNAME specified in the JCL in my rexx program. This does not appear to work. I thought there would be no need to re-allocate the files that are allready allocated in JCL. Am I missing something here? The ultimate question is how to you allocate files (input and output) in Batch Rexx
2) If I use the say commmand in batch rexx - does it write the output anywhere? If so, why don't I see it?
Thanks
Jim
1) Currently I have the rexx coded to allocate the two input files and one output file in the rexx script using ALLOC command. I thought that when I ran REXX in batch I would use normal JCL commands to allocate the files and just use the DDNAME specified in the JCL in my rexx program. This does not appear to work. I thought there would be no need to re-allocate the files that are allready allocated in JCL. Am I missing something here? The ultimate question is how to you allocate files (input and output) in Batch Rexx
2) If I use the say commmand in batch rexx - does it write the output anywhere? If so, why don't I see it?
Thanks
Jim