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
 

 

ICETOOL (in Syncsort) to do Numeric Check

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: ICETOOL (in Syncsort) to do Numeric Check
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

Site Director


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

PostPosted: Thu Jun 19, 2008 11:54 am    Post subject:
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    Post subject: Reply to: ICETOOL to do Numeric Check
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

Site Director


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

PostPosted: Thu Jun 19, 2008 12:34 pm    Post subject:
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: 500
Location: USA

PostPosted: Thu Jun 19, 2008 9:12 pm    Post subject:
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    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 Validate if a Value from the file is ... balacsv2 COBOL Programming 8 Mon Jun 19, 2017 11:52 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Using ICETOOL, how we can seperate th... bshkris SYNCSORT 5 Tue May 09, 2017 8:33 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Group elements using ICETOOL Learncoholic DFSORT/ICETOOL 2 Fri Apr 14, 2017 11:01 am


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