IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SUPERC can be invoked from the ISPF edit macro?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Mar 17, 2009 11:15 am
Reply with quote

i want to create a listing of the SUPERC comparison ......

so i gave in the command line like , compare save...... it has been told in the manual that, the listing will be saved under the name prefix.ISPFEDIT.COMPARE.LIST ...... but the dataset is not getting created ..... have i done anything wrong ? please clarify .
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 17, 2009 12:09 pm
Reply with quote

Hi,

It's not very clear what you are trying to do -

1. What does "listing" refers to in "listing of the SUPERC comparison"?
2.
Quote:
" gave in the command line like , compare save
where? once you compare via ISPF 3.13 then on command prompt or after a batch execution, if batch why there is such a need?

3. I know in ISPF 3.4 if we give "Save List", it would do what you say - I'm not aware about SuperC save command -
Quote:
it has been told in the manual
can you please direct to that document?

4. And does your question actually relates to this thread?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 17, 2009 12:15 pm
Reply with quote

Hi,

May be this is what you were looking for . . .

Listing DS Name
The name of the list data set to which SuperC writes the results of the comparison. However, if you enter NOLIST in the Listing Type field, SuperC does not create an output listing, so this name is ignored. Also, if you chose batch mode, this field does not appear on the panel. The SuperC Utility - Submit Batch Jobs panel is used instead. If you leave this field blank, SuperC allocates a list data set, using default data set attributes and this data set name:

prefix.userid.SUPERC.LIST

where prefix is your TSO prefix and userid is your user ID. If your prefix and user ID are identical, only your prefix is used. Also, if you do not have a prefix, only your user ID is used.

If you enter a fully qualified data set name SuperC uses it as specified. Otherwise, SuperC only appends your TSO prefix to the front of the data set name specified. If you run with TSO PROFILE NOPREFIX, SuperC uses the name as you entered it, which can result in an attempt to catalog the name in the master catalog.

If you enter the name of a data set that already exists, the contents of that data set are replaced by the new output listing. However, if the data set is sequential, you can add this listing to the data set instead of replacing it by including the APNDLST process option in your profile data set.

If you enter the name of a data set that does not exist, SuperC allocates it for you. The data set is allocated as a sequential data set unless you enter a member name after it, in which case it is allocated as a partitioned data set.
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Mar 17, 2009 12:20 pm
Reply with quote

sorry for making myself not clear ..........

Actually, i am trying to use isredit macro command "compare dsname" in my macro to compare the current dataset with the dataset specified in the dsname of the macro command.

The manual is here in the path,
publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/ispzem40/3.2.12?DT=20050712213335

here what i am trying to do is, once i compare the datasets , i want to save that comparison in a dataset. so that i can take information from that dataset later.

i am not referring to ISPF 3.13. i dont know, how to invoke 3.13 from the macro. so only i am using the compare command.

i guess my question relates to this thread, becoz there have been questions asked relating to invoke the compare command either from tso or ISPF. i dont think it is possible from tso environment.

anuj, can you help me out?
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Mar 17, 2009 12:29 pm
Reply with quote

anuj,
i got your point. but what i want here is to invoke the compare command from the macro. i dont have any idea about, invoking SUPERC comparison from the macro. so, i need to know whether we can invoke the 3.13 comparison from the macro or otherwise, a way to save the listing from the macro, using "ISREDIT COMPARE DSNAME SAVE"........

i know that superc comparison creates a dataset using the userid.SUPERC.LIST ..... but i need to know whether SUPERC can be invoked from the ISPF edit macro.........
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 17, 2009 1:02 pm
Reply with quote

Hi,

You might like to review this thread then: www.ibmmainframes.com/viewtopic.php?t=38892&highlight=
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Mar 17, 2009 2:04 pm
Reply with quote

thanks anuj ........ icon_smile.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 17, 2009 2:09 pm
Reply with quote

Hope that's what you were looking for - if you have further queris post us back, some one will be around. . . icon_smile.gif
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Mar 17, 2009 9:03 pm
Reply with quote

The help for the COMPARE command says about SAVE:
Quote:
Saves the listing produced by the SuperC compare program.
The listing is saved in a data set called
prefix.ISPFEDIT.COMPARE.LIST. The SAVE option is intended
primarily for debugging purposes, but you may want to use
it to create SuperC listings easily.


It worked for me when I tried it.

Whereas, you were incorrectly looking for userid.SUPERC.LIST.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Mar 17, 2009 9:32 pm
Reply with quote

maridawson wrote:
i want to create a listing of the SUPERC comparison ......

so i gave in the command line like , compare save...... it has been told in the manual that, the listing will be saved under the name prefix.ISPFEDIT.COMPARE.LIST ...... but the dataset is not getting created ..... have i done anything wrong ? please clarify .

I ran the 'COMPARE other.dsn SAVE' command and the file "prefix.ISPFEDIT.COMPARE.LIST" got created, just as Pedro said.

Can you try again and tell us if you still have that problem?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
Search our Forums:

Back to Top