View previous topic :: View next topic
|
Author |
Message |
mjshaheed
New User
Joined: 09 Apr 2007 Posts: 25 Location: Chennai,India
|
|
|
|
Hi All,
Can anyone throw some light on how Panvalent PCOMPARE utility could be used in JCL?
I am able to compare and see the differences in the SPOOL but i want to store it in a dataset and i don't know how to do it.
Thanks,
Shahul |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
hint...
since You see it in the spool reroute the difference report to a disk dataset
Code: |
instead of using
//<ddname> dd sysout=<sysout_class>
use
//<ddname> dd dsn=<dsname>,
// disp=(new,catlg),<allocation parameters> |
|
|
Back to top |
|
|
mjshaheed
New User
Joined: 09 Apr 2007 Posts: 25 Location: Chennai,India
|
|
|
|
Hi,
This is how the step looks. I tried and it still goes to the spool.
//COMPSMD EXEC PCOMPARE,REGION=512K,
// PCOLD='CMNMS.WA10.#000003.SMD(L7821301)',
// PCNEW='CMNMS.WA10.#000003.SMD(L7821302)'
//SYSIN DD *
COMPARE OUTPUT(DELTA) REPORT(DETAIL)
OLD COLUMN (7 72) FILEORG(SEQUENTIAL)
NEW COLUMN (7 72) FILEORG(SEQUENTIAL)
//OUTPUT DD DSN=ASMT.T958164.COMPRE,
// DISP=(,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(TRK,(5,1),RLSE),LRECL=100,RECFM=FB,
// RETPD=1,BLKSIZE=10000
//SYSUDUMP DD SYSOUT=* |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Show the proc (PCOMPARE) . . . |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
mjshaheed,
it would be even more informative if you cut&paste into code-tags the
resolved (by the jes interpreter) step found in the 2nd JES DSID for the job. |
|
Back to top |
|
|
|