View previous topic :: View next topic
|
Author |
Message |
prateek_nanda
New User
Joined: 13 Jul 2007 Posts: 19 Location: Gurgaon
|
|
|
|
Hi everyone,
I have a situation in hand where I need to compare two datasets and if they are identical then I have to set the return code to 10 otherwise a Normal return code of zero.
I am trying it since the morning but till now no luck..
Could you please help..
Thanks!!
Pratts |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
What have you tried so far that isn't working? |
|
Back to top |
|
|
prateek_nanda
New User
Joined: 13 Jul 2007 Posts: 19 Location: Gurgaon
|
|
|
|
superk wrote: |
What have you tried so far that isn't working? |
I tried ISRSUPC utility and to set return code in next step but it didnt served my purpose.. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
That's what I was going to suggest. Why won't it work? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What is wrong with using the return codes given by ISRSUPC ? |
|
Back to top |
|
|
prateek_nanda
New User
Joined: 13 Jul 2007 Posts: 19 Location: Gurgaon
|
|
|
|
superk wrote: |
That's what I was going to suggest. Why won't it work? |
It is setting the return code of IDCAMS to Zero but not the MAXCC. Actually I have got several steps in my JCL with condition code (0,NE) now all are getting skipped because of return code 1 which is coming from ISRSUPC .
below is the piece of code that I am using
//STEP012 EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// '',
// '')
//NED DD DSN=test1
// DISP=SHR
//OLDDD DD DSN=test2
// DISP=SHR
//OUTDD DD SYSOUT=(A)
//*
//STEP01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
SET MAXCC=0
/*
Please suggest me what to do.
Thanks!!
Pratts |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
So what has the return code from IDCAMS have to do with the return code from ISRSUPC ? |
|
Back to top |
|
|
|