Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us