IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

While i was sortting through jcl i got RC=20


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vinuraj

New User


Joined: 27 Feb 2004
Posts: 2
Location: Kerala

PostPosted: Fri Feb 27, 2004 7:59 am
Reply with quote

Hi ,

While i was sortting through jcl i got RC=20 ,and the data didn't sort. i would like to know why this?

Love nandini
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Sun Feb 29, 2004 3:23 pm
Reply with quote

Hello vinuraj,

Can you post your JCL and sysout messages for ref ??

Regards
Mayuresh Tendulkar
Back to top
View user's profile Send private message
vinuraj

New User


Joined: 27 Feb 2004
Posts: 2
Location: Kerala

PostPosted: Mon Mar 08, 2004 8:09 am
Reply with quote

Hi

here is my prog

//CO02Q JOB NOTIFY=CO02,CLASS=A
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=CO02.SORT.DATA,DISP=OLD
//SORTOUT DD DSN=CO02.OUT1.DATA,DISP=NEW,SPACE=(TRK,(1,1)),
// RECFM=FB,LRECL=80,BLKSIZE=800
//SYSIN DD *
SORT FIELDS=(1,2,CH,A)
/*


regards
Back to top
View user's profile Send private message
franclin

New User


Joined: 23 May 2003
Posts: 11
Location: Chennai, India

PostPosted: Sat Mar 13, 2004 8:43 am
Reply with quote

Hi,
I worked with ur code, It is working with RC=0,
If u want to see the sortout data set ,u will give sort out disp parameter
DISP=(NEW,CATLG,DELETE)

BY
SUMAN
Back to top
View user's profile Send private message
franclin

New User


Joined: 23 May 2003
Posts: 11
Location: Chennai, India

PostPosted: Sat Mar 13, 2004 8:44 am
Reply with quote

Hi,
I worked with ur code, It is working with RC=0,
If u want to see the sortout data set ,u will give sort out disp parameter
DISP=(NEW,CATLG,DELETE)

BY
SUMAN
Back to top
View user's profile Send private message
franclin

New User


Joined: 23 May 2003
Posts: 11
Location: Chennai, India

PostPosted: Sat Mar 13, 2004 8:44 am
Reply with quote

Hi,
I worked out with ur code, It is working with RC=0,
If u want to see the sortout data set ,u will give sort out disp parameter
DISP=(NEW,CATLG,DELETE)

BY
SUMAN
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Search our Forums:

Back to Top