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

ICETOOL (in Syncsort) to do Numeric Check


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

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Jun 19, 2008 10:29 am
Reply with quote

When I try to use icetool to do a numeric check teh job abends saying a syntax error.

The include condition I am using is INCLUDE COND=(25,10,FS,EQ,NUM) which I got from the sorttricks document. The error says NUM is invalid. Please let me know whether the NUM really works or I need to do something else for doing this check.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Jun 19, 2008 11:54 am
Reply with quote

Hello,

Please post all of your sort control statements as well as the all of the diagnostic info presented by the problem run.
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Jun 19, 2008 12:19 pm
Reply with quote

The jcl is:

Code:
//SORT02   EXEC PGM=ICETOOL
//SORTLIB  DD DSN=SYS1.SORTLIB,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT   DD SYSOUT=*
//TOOLMSG  DD SYSOUT=*
//LIST99   DD SYSOUT=*
//DFSMSG   DD SYSOUT=*
//HIST     DD DSN=CHRB.TP.T338.D2,DISP=SHR
//*
//OUT      DD DSN=CHRB.TP.T338.OUT,
//           DISP=(NEW,KEEP,DELETE),
//           UNIT=DISKS,SPACE=(CYL,(20,10),RLSE),
//           DCB=(RECFM=FB,BLKSIZE=0,LRECL=433)
//TOOLIN  DD *
  SELECT FROM(HIST)  TO(OUT) ON(25,11,CH) FIRST USING(CTL1)
/*
//CTL1CNTL DD *
  INCLUDE COND=(25,11,FS,EQ,NUM)
/*


The error I am getting is:

Code:
SYNCSORT FOR Z/OS  1.2.2.1RI   U.S. PATENTS: 4210961, 5117495   (C) 2005 SYNCS
                                       ELECTRONIC DATA SYSTEMS   z/OS   1.7.0
PRODUCT LICENSED FOR CPU SERIAL NUMBER 115A8, MODEL 2064 1C8              LICE
CTL1CNTL :                                                                   
  INCLUDE COND=(25,10,FS,EQ,NUM)                                             
                            *                                                 
WER428I  CALLER-PROVIDED IDENTIFIER IS "0001"                                 
WER268A  INCLUDE STATEMENT : SYNTAX ERROR                                     
WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Jun 19, 2008 12:34 pm
Reply with quote

Hello,

One problem with the syntax is that it is for DFSORT and your system is running Syncsort.

Try something like this (modified for your data positions):
Code:
INCLUDE COND=(1,1,SS,EQ,C'0123456789',AND,
              2,1,SS,EQ,C'0123456789',AND
              3,1,SS,EQ,C'0123456789',AND
              4,1,SS,EQ,C'0123456789',AND
              5,1,SS,EQ,C'0123456789',AND
              6,1,SS,EQ,C'0123456789')
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Thu Jun 19, 2008 9:12 pm
Reply with quote

pjnithin,

NUM is supported in SyncSort for z/OS 1.3. You are running an earlier release of the product. That is why you got the syntax error. Dick's solution is a good alternative for your release of SyncSort.
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

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Shift left VB record without x00 endi... DFSORT/ICETOOL 11
Search our Forums:

Back to Top