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
 

 

Getting an error while executing sort with FINDREP

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

New User


Joined: 03 Apr 2009
Posts: 47
Location: CHENNAI

PostPosted: Sat Oct 24, 2009 12:34 pm    Post subject: Getting an error while executing sort with FINDREP
Reply with quote

Hi All,
I am trying to execute a sort to test the FINDREP functionality. I get an error everytime when I execute the sort card. Please advice me on this. The data and code are given below.

Input Data:
LRECL=80,RECFM=FB
Code:

VIEW       TDMS.TAPAS.TEST2                                Columns 00001 00072
Command ===>                                                  Scroll ===> CSR
****** ***************************** Top of Data ******************************
000001 0009 UTUY OP664 KOKKKON HI                                             
000002 0934 AJHJ IOIOO MAKK KOK SO                                             
000003 1234 ABCD HELLO SECOND FILE                                             
000004 1234 OOPD PLOLO OIOIOIO YOU                                             
000005 4565 NVHD 12344 HEY MAN HI                                             
000006 4565 VFRD 12344 MAN THIS IS                                             
000007 4589 DFAD 10104 HEY MAN HI                                             
000008 5476 MNMN H099O KAKAOIIOYOU                                             
000009 5565 KJKJ 0990B HEY MAN HI                                             
000010 8885 TRRY 099LO LLKLLRE YOU                                             
000011 8885 VFRD HHH44 HEY MAN HI                                             
000012 9894 IQPO BOSSO SO YOU ARE                                             
****** **************************** Bottom of Data ****************************
                                                                               


JCL:

Code:
//TDMSTESJ JOB (0000,FA14),'TAPAS TEST',NOTIFY=&SYSUID,               
//         MSGCLASS=L,CLASS=A,REGION=5M                               
//*                                                                   
//CA11RMS EXEC UCC11RMS,TYPRUN=P                                       
//*                                                                   
//STEP05R  EXEC PGM=SORT                                               
//*                                                                   
//SORTIN   DD  DSN=TDMS.TAPAS.TEST2,DISP=SHR                           
//*                                                                   
//SORTOUT  DD  SYSOUT=*                                               
//*                                                                   
//SYSIN    DD   *                                                     
  SORT FIELDS=(6,4,CH,A)                                               
  INREC FINDREP=(IN=C'AB',OUT=C'@')                                   
//SYSPRINT DD   SYSOUT=*                                               
//SYSOUT   DD   SYSOUT=*                                               
/*                                                                     


SYSOUT:

Code:

SYSIN :                                   
  SORT FIELDS=(6,4,CH,A)                 
  INREC FINDREP=(IN=C'AB',OUT=C'@')       
        *                                 
WER268A  INREC STATEMENT   : SYNTAX ERROR
Back to top
View user's profile Send private message

TAPAS PATEL

New User


Joined: 03 Apr 2009
Posts: 47
Location: CHENNAI

PostPosted: Sat Oct 24, 2009 12:48 pm    Post subject: Getting an error while executing sort with FINDREP
Reply with quote

Oops....this post should have been posted under DFSORT/ICETOOL section, by mistake I posted under JCL. Can some one please move this topic to DFSORT...I am not sute how to do it.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Sat Oct 24, 2009 1:39 pm    Post subject:
Reply with quote

NO,
leave this topic in JCL, as the TS is unaware that he is using SYNCSORT.

error message: WER268A
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: Sun Oct 25, 2009 2:57 am    Post subject:
Reply with quote

Hello,

Which release of Syncsort is being used? This info is at/near the top of the informational output from the run.
Back to top
View user's profile Send private message
TAPAS PATEL

New User


Joined: 03 Apr 2009
Posts: 47
Location: CHENNAI

PostPosted: Mon Oct 26, 2009 11:05 am    Post subject: Which release of Syncsort is being used?
Reply with quote

Hi Dick,
The please find the SYSOUT message below.

Code:
SYNCSORT FOR Z/OS  1.3.0.2R    U.S. PATENTS: 4210961, 5117495   (C) 2007 SYNCSORT INC.   DATE=2009/297   TIME=00.03.54
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Mon Oct 26, 2009 5:02 pm    Post subject:
Reply with quote

Support for FINDREP was included in SyncSort for z/OS 1.3.2. Per your sysout, your shop is way behind this release, so you're getting the syntax error.
Back to top
View user's profile Send private message
TAPAS PATEL

New User


Joined: 03 Apr 2009
Posts: 47
Location: CHENNAI

PostPosted: Tue Oct 27, 2009 9:40 am    Post subject: Per your sysout, your shop is way behind this release
Reply with quote

Hi Anuj,
Thanks for the reply. I understood the problem. This has nothing to do with the syntax, I just wanted to confirm that.
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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