View previous topic :: View next topic
|
Author |
Message |
Gayathri P
New User
Joined: 07 Oct 2011 Posts: 16 Location: India
|
|
|
|
Hi am using the ISRSUPC utility for comparing 2 DS.
code snippet:
COMPARE EXEC PGM=ISRSUPC,
PARM=(DELTAL,LINECMP,
'',
'')
NEWDD DD DSN=dsn1,
DISP=SHR
OLDDD DD DSN=dsn2,
DISP=SHR
OUTDD DD SYSOUT=(*)
but am not able to see the compared output in the spool ;
the OUTDD itself is not appearing; instead $INTTEXT is found werein I din get the required info. Help ? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
did your jcl for the step come from your site's Batch Job Submission option of ISRSUPC
or from another source?
also, what are your JOB Card parms for MSGCLASS ? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
You will not find output, if the return code was 1. Meaning no differences were found. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Picking up from the reply from Dick, if you select for "Nolist", option 5 in "Listing Type" while generating the job, you'll not get any OUTDD (this can be one of the reasons among others)
Code: |
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Menu Utilities Options Help
------------------------------------------------------------------------------
SuperCE Utility
Command ===>
More: +
New DS Name . . . 'hlq.slq.FILE'
Old DS Name . . . 'hlq.slq.FILE'
PDS Member List (blank/pattern - member list, * - compare all)
(Leave New/Old DSN "blank" for concatenated-uncataloged-password panel)
Compare Type Listing Type Display Output
2 1. File 5 1. OVSUM 1 1. Yes
2. Line 2. Delta 2. No
3. Word 3. CHNG 3. Cond
4. Byte 4. Long 4. UPD
5. Nolist
Listing DSN . . . . SUPERC.LIST
Process Options . .
Statements Dsn . . .
Update DSN . . . . .
Enter "/" to select option Execution Mode Output Mode
Bypass selection list 2 1. Foreground 1 1. View |
|
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Oh my goodness, ignore my previous comment. Had some memory problems, some of the return codes are :
0 Normal completion.
Comparison The input files are the same. No differences found.
Search No matches found in the input file.
1 Normal completion.
Comparison Differences were found in the input files.
Search Matches found in the input file. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
Oh my goodness, ignore my previous comment. |
we did, we understood that you had good intentions. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Possibly there is something in the superc setup. . .
When a compare is sucessful on this machine, RC=0 and statistics are "printed" to OUTDD:
Code: |
4 NOP X Uxxxx 17 STD 1 COMP1.OUTDD |
Code: |
LINE COMPARE SUMMARY AND STATISTICS
178 NUMBER OF LINE MATCHES 0 TOTAL CHANGES (PAIRED+NO
0 REFORMATTED LINES 0 PAIRED CHANGES (REFM+PAI
0 NEW FILE LINE INSERTIONS 0 NON-PAIRED INSERTS
0 OLD FILE LINE DELETIONS 0 NON-PAIRED DELETES
178 NEW FILE LINES PROCESSED
178 OLD FILE LINES PROCESSED |
Actually, the statistics are generated if everythig matches or not. . . |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
The SYSOUT=* depends on the MSGCLASS value on the jobcard. Is your MSGCLASS value a class for held output?
What happens when you specify a real dataset for OUTDD instead of sysout=*? |
|
Back to top |
|
|
Gayathri P
New User
Joined: 07 Oct 2011 Posts: 16 Location: India
|
|
|
|
apologies for the very late reply.
@dbzTHEdinosauer
I have tried both by using the Utility and by batch job .
My job :
//SUPERCE JOB 'COMPARE',MSGCLASS=X,CLASS=S,NOTIFY=&SYSUID,
// TYPRUN=SCAN
//*
//COMPARE EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// '',
// '')
//NEWDD DD DSN=dsn1,
// DISP=SHR
//OLDDD DD DSN=dsn2,
// DISP=SHR
//OUTDD DD DSN=new.dsn,
// DISP=(NEW,CATLG,DELETE),
// DCB=(LRECL=133,BLKSIZE=0,RECFM=FB),
// SPACE=(TRK,(5,5),RLSE),
// UNIT=SYSDA
the above MSGCLASS is wat I give for all of my other jobs too. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
TYPRUN=SCAN? Was that on the job with no output? |
|
Back to top |
|
|
Gayathri P
New User
Joined: 07 Oct 2011 Posts: 16 Location: India
|
|
|
|
@Anuj Dhawan[b]
below are options i gave while using the utility
2.Line 2.delta 1.yes
@dick scherrer
Yes during my previous comparisons using both Utility and Batch Job ,
I had got these differences listed in the OUTDD of the spool.
But now that am working in a differnt machine , I get this problem...
[/b] |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Is this so clear that it can not be seen?
In the JCL provided the OUTDD is pointing to a dataset.
Either look there or change it to:
OUTDD DD SYSOUT=*
The output will then go to your MSGCLASS.
Am I missing something here? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
Quote: |
TYPRUN=SCAN? Was that on the job with no output? |
Agree that that is the problem. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
You're not consistent in what you post - very first post, from you, said:
Quote: |
but am not able to see the compared output in the spool ; |
and in the latest post you show
Quote: |
//OUTDD DD DSN=new.dsn, |
. You also show TYPRUN=SCAN in your Job.
What you've posted, with that you're given the sugestions, if they don't work out for you - well, ask someone around in your shop - how are they doing this and then you can understand what mistake you are doing, possibly. |
|
Back to top |
|
|
|