View previous topic :: View next topic |
Author |
Message |
sudipta15ee Beginner
Joined: 03 May 2011 Posts: 8 Topics: 6
|
Posted: Wed Jun 01, 2011 12:59 pm Post subject: How to read IOF panel through rexx |
|
|
hi,
my requirement is that i have read data from spool. SDSF is not working for my mainframe. Instead of SDSF I have IOF. ADDRESS IOF is also not woring for me.
I have developed a code but it is not working.
Code: |
/* rexx */ 0001
"IOF myid*" 0002
"TSICOPY (JOBNAME JOBID) TO (REXX)" 0003
"EXIT" /* for closing the IOF panel*/ 0004
SAY JOBNAME 0005
SAY JOBID 0006
EXIT 0007 |
The above code is working for up to line no 0002. It is opening the IOF joblist panel.Then I have to press PF3.
But my requirement is that on the command line i have to put the line command which i have mentioned in the 0003 line. Then i have to place EXIT command on the panel command line.
Could you please help me to develop the above code?
Thanks in advance. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
sudipta15ee Beginner
Joined: 03 May 2011 Posts: 8 Topics: 6
|
Posted: Wed Jun 01, 2011 9:08 pm Post subject: |
|
|
Could you please supply the proper code? |
|
Back to top |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Wed Jun 01, 2011 10:18 pm Post subject: |
|
|
Quote: |
Could you please supply the proper code? |
Is there some reason you cannot read the info provided and try to do what you need?
If you get stuck or encounter some error, someone may be able to help. _________________ All the best,
di |
|
Back to top |
|
 |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Tue Jun 07, 2011 9:55 am Post subject: |
|
|
Agree with Papadi.
Show us first that you've read and tried to apply what you've read. THEN, when you get stuck, include code that shows what you're trying to do and why it doesn't work, and you're more likely to receive help. _________________ Michael |
|
Back to top |
|
 |
skss Beginner
Joined: 09 Dec 2013 Posts: 12 Topics: 2
|
Posted: Tue Dec 10, 2013 7:32 pm Post subject: |
|
|
Code: |
"TSICOPY NAME(JOBNAME) SECTION(LOG) ROW(1) TO(REXX)"
"EXIT" /* FOR CLOSING THE IOF PANEL*/
SAY JOBNAME
SAY JOBID
EXIT
|
and it gives me the below error
Code: |
IKJ56500I COMMAND TSICOPY NOT FOUND
|
I even tried to do it rhough a batch job using the IKJEFT01 utility but that is also not giving me the complete result.
I went through the entire documentation provided by triangle but that also does not provide the result we want.
I want to read a specific section of the job log and write into a dataset.
I have tried to do it through batch but is not working.
I have a work arround but that involves some amount of manual effort.
I am looking for some help to build the rexx to read the log and write it into the dataset from IOF.
I understand that I am responding to the 2 yeazr old thread but I did not find anything on IOF useful over net rather than this.
Any help in building the rexx will be much appreciated. _________________ Thanks & Regards,
SKSS |
|
Back to top |
|
 |
skss Beginner
Joined: 09 Dec 2013 Posts: 12 Topics: 2
|
Posted: Wed Dec 11, 2013 9:35 am Post subject: |
|
|
Any suggestion will be much appreciated
Awaiting your response _________________ Thanks & Regards,
SKSS |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed Dec 11, 2013 9:51 am Post subject: |
|
|
Is this anything to do with the 2 year old topic that it is attached to (apart from being the use of the same software)? Or is it a new topic? _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Dec 11, 2013 11:46 am Post subject: |
|
|
skss wrote: |
and it gives me the below error
Code: |
IKJ56500I COMMAND TSICOPY NOT FOUND
|
|
SKSS,
If the command is NOT found then you probably don't have IOF libraries concatenated to your SYSEXEC/SYSPROC ( if running interactively) or STEPLIB if you are running in batch.
In order to find out what datasets are concatenated to your SYSEXEC/SYSPROC , issue the command
TSO ISRDDN at the command prompt and press ENTER, it will bring your allocation list. Now type SAVE and you will get a CLIST format of your allocation or you can even scroll the output of ISRDDN and see if you have IOF datasets concatenated to your SYSEXEC/SYSPROC.
Also while you are at it here is the link for IOF user guide which explain in detail about TS1COPY command
http://silk.nih.gov/dbtek/viewdoc?vdsn=VPOD.IOFUG7G.PDF
Kolusu |
|
Back to top |
|
 |
|
|