View previous topic :: View next topic
|
Author |
Message |
karisurya
New User
Joined: 02 Aug 2007 Posts: 64 Location: Bangalore
|
|
|
|
Hi,
I got stuck at the following issue, here is what i am trying to do
After submitting job thru rexx, i am trying to go to IOF and get the JESMSGLG from IOF to a seq. file. for doing this i used "OUTPUT" in "OUTTRAP" in the following way
x = outtrap(out.)
"OUTPUT "part1" PRINT ('TSJV.A9ZCCS4.CCS.OUTPUT') "
x= output(off)
now i am getting the entire log in the seq. file. I want to extract only a selected lines from this file, so i tried to read this file using EXECIO and rexx thrown me a error message stating that the file is not free.
Can any one suggest me how to close this file or the way i can read this file after this outtrap step?
Please let me know in case if you need any other information.
Thanks,
Surya |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
how are you allocating the file. - Please, the commands you have issued to allocate the file. |
|
Back to top |
|
|
karisurya
New User
Joined: 02 Aug 2007 Posts: 64 Location: Bangalore
|
|
|
|
Actually i the file is already existing and i did not use any special commands to allocate the file in rexx program. I done exactly the way i mentioned earlier.
Thanks,
Surya |
|
Back to top |
|
|
karisurya
New User
Joined: 02 Aug 2007 Posts: 64 Location: Bangalore
|
|
|
|
Aster doing some research I got the solution, thanks for the support |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
karisurya wrote: |
Aster doing some research I got the solution, thanks for the support |
What is this all about ? |
|
Back to top |
|
|
|