Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Super C is giving the following error, how to rectify ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kabyab

New User


Joined: 31 Aug 2005
Posts: 34
Location: Pune, India

PostPosted: Wed Jun 06, 2007 7:53 pm    Post subject: Super C is giving the following error, how to rectify ?
Reply with quote

I' m using Superc(ISRSUPC) in a JCL and need to compare specific columns. In order to do that, I have coded the following:

//SYSIN DD *
CMPCOLM 1:2,21:01,23:04,27:04,31:04,35:04,39:04,43:05,48:08,56:04,
CMPCOLM 60:03,63:05,68:04,72:02,74:05,79:05
/*

The second line of CMPCOLM is given as it would not fit into first line.

I am getting the below warning in the o/p file icon_sad.gif
THE FOLLOWING PROCESS STATEMENTS (USING COLUMNS 1:72) WERE PROCESSED:
CMPCOLM 1:2,21:1
ISRS031W AN INVALID START COLUMN VALUE WAS SPECIFIED.

ISRS078I FALSE MATCHES CORRECTED. RESULTS MAY NOT REFLECT ALL MATCHES. SEE "ADDITIONAL MANUAL ON SUPERC"

Please let me know how to correct it
Back to top
View user's profile Send private message

Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Wed Jun 06, 2007 8:43 pm    Post subject:
Reply with quote

CPMCOLM want <first>:<last>, not <first>:<length>
Back to top
View user's profile Send private message
kabyab

New User


Joined: 31 Aug 2005
Posts: 34
Location: Pune, India

PostPosted: Thu Jun 07, 2007 12:47 pm    Post subject: Super C is giving the following error, how to rectify ?
Reply with quote

Thank you very much for your reply. It worked fine.
But it can make only 15 comparison. But I have a requirement for 17 comparisons.

CMPCOLM
1:2,21:21,22:22,23:26,27:30,31:34,35:38,39:42,43:47,48:55,56:59
CMPCOLM 60:62,63:67,68:71,72:73

The above works fine

But my requirement is as below
CMPCOLM 1:2,21:21,22:22,23:26,27:30,31:34,35:38,39:42,43:47,48:55,56:59,
60:62,63:67,68:71,72:73,74:78,79:83

Please help.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Thu Jun 07, 2007 6:28 pm    Post subject:
Reply with quote

You can certainly consolidate your contiguous columns, e.g., 21:27.

I see no reason to split these, even if to you they are different fields.

With SORT parms, though, I like to separate contiguous fields as a documentation aid, so maybe that's your thinking.

Nonetheless, with the 15 restriction, you have no choice.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Thu Jun 07, 2007 8:44 pm    Post subject:
Reply with quote

Hi,

Why don't you try this,

CMPCOLM 1:2 21:83

I hope you can replace your CMPCOLM arguments with the above.
Back to top
View user's profile Send private message
kabyab

New User


Joined: 31 Aug 2005
Posts: 34
Location: Pune, India

PostPosted: Fri Jun 08, 2007 2:03 pm    Post subject: Super C is giving the following error, how to rectify
Reply with quote

Thanks for your reply Phil and Anuj.

I felt both solution( (21:27 by Phil) , (21:83 (Anuj)) suggested were the same , as it is contigous from 21:83 . I tried both and got the same output

But output of SUPERC and COMPAREX were not the same. icon_sad.gif

There is record count mismatch between COMPAREX output and SUPERC

I need to convert COMPAREX to SUPERC and get the same output

FYI- After SUPERC, I use a SORT step to get rid of I(insert) which SUPERC normally writes to the o/p file. Ignore D(Delete) which is also written to o/p file as insert are my concern. So the final output will have only data without summary, I or D.

Please help.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Jun 08, 2007 3:48 pm    Post subject: Re: Super C is giving the following error, how to rectify
Reply with quote

kabyab wrote:
There is record count mismatch between COMPAREX output and SUPERC

Hi,

Please show the JCL you are using & the SYSOUT/error messages.
We can up with some better suggestion. If possible please provide the some sample input & required output records.
Back to top
View user's profile Send private message
kabyab

New User


Joined: 31 Aug 2005
Posts: 34
Location: Pune, India

PostPosted: Fri Jun 08, 2007 5:18 pm    Post subject: There is record count mismatch between COMPAREX output and S
Reply with quote

Hi,

There is no error messages as such. Only there is record count mismatch.

Job of SuperC
//SUPERC EXEC PGM=ISRSUPC,
//* PARM='CHNGL'
// PARM=('DELTAL','LINECMP',
//* 'NOSUMS NOPRTCC',
//* '',
// '')
//NEWDD DD DSN=file1,
// DISP=SHR
//OLDDD DD DSN=file2,
// DISP=SHR
//SYSIN DD *
CMPCOLM 1:2,21:83
/*
//OUTDD DD DISP=(NEW,CATLG),
// DSN=file3,
// RECFM=FB,LRECL=91,
//* MGMTCLAS=SHRTBKUP,
// SPACE=(CYL,(500,50),RLSE),
// UNIT=DISK
//*
//SORT1 EXEC PGM=SORT
//SORTIN DD DSN=file3,
// DISP=SHR
//*
//SORTOUT DD DSN=file4,
// DISP=(NEW,CATLG,DELETE),DCB=(RECFM=FB,LRECL=91),
// SPACE=(CYL,(500,50),RLSE),
// UNIT=DISK
//SORWK01 DD UNIT=SYSDA,
// SPACE=(CYL,(1,1),RLSE)
//SORWK02 DD UNIT=SYSDA,
// SPACE=(CYL,(1,1),RLSE)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(2,3,SS,EQ,C'I -')
INREC FIELDS=(6,91)
/*

Corresponding Comparex Job
//step1 EXEC PGM=COMPAREX
//*
//SYSUT1 DD DISP=(OLD,KEEP,KEEP),
// DSN=file1

//SYSUT2 DD DISP=SHR,
// DSN=file2

/
//SYSIN DD DISP=SHR,
// DSN=&CNTLIB(CTL1)
//
//SYSUT3 DD DISP=(NEW,CATLG),
// DSN=file3,
// DCB=( RECFM=FB,LRECL=91),
// MGMTCLAS=
// SPACE=
//
//*
//*
CTL1 expands to
HALT=COND
DATA
FIELD=(01,02,C)
KEY=(03,18,C,A)

others fileds upto 83
COPYDIFF
FORMAT=15
KILLRC=NO
DASH=C'*'

I/p file sample

2367890123244343 xx......................... .... ..................
23789012334356 xx......................... .... ..................
235766767676767 xx......................... .... ..................
234124141234314 xx......................... .... ..................
231234141341241 xx......................... .... ...Ø..øê..........


The output required is difference i.e present in new file but not in old file

The sysout message of SUPERC speaks more about the SORT step
(Let me know incase you need it)

Thanks.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 08, 2007 7:50 pm    Post subject:
Reply with quote

Hello,

You will get better replies if you post all of the sysout messages fro both runs (not all of the records, just the messages).
Back to top
View user's profile Send private message
kabyab

New User


Joined: 31 Aug 2005
Posts: 34
Location: Pune, India

PostPosted: Mon Jun 11, 2007 3:58 pm    Post subject:
Reply with quote

Hi Everyone,
Thank you very much for all your help, finally I managed to get the comparison right.
I had to include the KEY=(03,18,C,A) parameters as part of the CMPCOLM.
Instead of using CMPCOLM 1:2,21:83,
we used CMPCOLM 1:2,3:83 and got the results right.

I have one more query.
In the SUPERC JCL as already given in my previous post, I am using SORT to remove the prefixed 'I -' character from the Super C output dataset.

//SORT1 EXEC PGM=SORT
//SORTIN DD DSN=file3,
// DISP=SHR
//SORTOUT DD DSN=file4,
// DISP=(NEW,CATLG,DELETE),DCB=(RECFM=FB,LRECL=91),
// SPACE=(CYL,(500,50),RLSE),
// UNIT=DISK
//SORWK01 DD UNIT=SYSDA,
// SPACE=(CYL,(1,1),RLSE)
//SORWK02 DD UNIT=SYSDA,
// SPACE=(CYL,(1,1),RLSE)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(2,3,SS,EQ,C'I -')
INREC FIELDS=(6,91)
/*


Is there any SuperC parameters that we can use instead of SORT to achieve the same?
The parameters I am using for SUPERC are:

//SUPERC EXEC PGM=ISRSUPC,
// PARM=('DELTAL','LINECMP',
// '')
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us