MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to read IOF panel through rexx

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
sudipta15ee
Beginner


Joined: 03 May 2011
Posts: 8
Topics: 6

PostPosted: Wed Jun 01, 2011 12:59 pm    Post subject: How to read IOF panel through rexx Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Jun 01, 2011 1:22 pm    Post subject: Reply with quote

sudipta15ee,


http://www.triangle-systems.com/doc/7j/UG7JC18.HTM


Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sudipta15ee
Beginner


Joined: 03 May 2011
Posts: 8
Topics: 6

PostPosted: Wed Jun 01, 2011 9:08 pm    Post subject: Reply with quote

Could you please supply the proper code?
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Wed Jun 01, 2011 10:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Tue Jun 07, 2011 9:55 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
skss
Beginner


Joined: 09 Dec 2013
Posts: 12
Topics: 2

PostPosted: Tue Dec 10, 2013 7:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
skss
Beginner


Joined: 09 Dec 2013
Posts: 12
Topics: 2

PostPosted: Wed Dec 11, 2013 9:35 am    Post subject: Reply with quote

Any suggestion will be much appreciated

Awaiting your response
_________________
Thanks & Regards,
SKSS
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Dec 11, 2013 9:51 am    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Dec 11, 2013 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group