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 

Super C through Macro

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


Joined: 24 May 2010
Posts: 6
Topics: 3

PostPosted: Tue Jun 01, 2010 4:48 am    Post subject: Super C through Macro Reply with quote

Hi,

I need to invoke the 3.13 SUPER C Comparison, give two files for comparison and get the result in a PS. Can anyone explain me how this can be done automatically using a Edit Macro or REXX?
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Tue Jun 01, 2010 9:48 am    Post subject: Reply with quote

In REXX,

Allocate the files to the required DDnames that you would use in batch and then use the CALL or ISPF SELECT statement to execute the program.
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Jun 01, 2010 10:35 am    Post subject: Reply with quote

Manick,

Try this (untested)

Code:

ADDRESS ISREDIT "MACRO"                               
ADDRESS TSO                                           
NEWDSN = "YOUR NEW PS FILE TO COMPARE"               
OLDDSN = "YOUR OLD PS FILE TO COMPARE"               
OUTDSN = "YOUR OUTPUT LISTING FILE"                   
"ALLOC FI(NEWDD) DA('"NEWDSN"') REUSE SHR "           
"ALLOC FI(OLDDD) DA('"OLDDSN"') REUSE SHR "           
"ALLOC DA('"OUTDSN"') F(OUTDD) NEW RECFM(F,B)",       
    "LRECL(80) SPACE(5,10) TRACK BLKSIZE(0)"         
"ALLOC FI(SYSIN) DUMMY          REUSE SHR "           
PARMS = "DELTAL,LINECMP,SEQ"                         
ADDRESS ISPEXEC "SELECT PGM(ISRSUPC) PARM("PARMS")"   
SAY "RETURN CODE" RC                                 
EXIT                                                 


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


Joined: 24 May 2010
Posts: 6
Topics: 3

PostPosted: Thu Jun 24, 2010 8:03 am    Post subject: Reply with quote

Hi,

Thanks for the replies and sorry for the delayed reply. I'll try these options....
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Jun 24, 2010 11:11 pm    Post subject: Reply with quote

The built-in COMPARE command might already do what you want.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message 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