icetool

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
4ubobby
Member
Posts: 19
Joined: Fri Nov 06, 2009 7:49 pm
Location: USA

icetool

Post by 4ubobby » Fri Nov 13, 2009 12:12 am

Hi frank,

I am trying to get the number of records in an input file using icetool

This is the jcl i am trying to run.

//STEP1 EXEC PGM=ICETOOL
//IN1 DD DSN=input file
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//TOOLIN DD *
//SYSIN DD *
COUNT FROM(IN1)
/*

i am not able to get any information nor the count of the records in the toolmsg. Is there any option that is the used for displaying or it is installation specific

Thanks in advance
thanks

Bobby

User avatar
Frank Yaeger
Moderator
Posts: 812
Joined: Sat Feb 18, 2006 5:45 am
Location: San Jose, CA
Contact:

Post by Frank Yaeger » Fri Nov 13, 2009 1:18 am

Remove the //SYSIN DD * statement. You have:

Code: Select all

//TOOLIN DD * 
//SYSIN DD * 
COUNT FROM(IN1) 
/* 
COUNT should be in TOOLIN, but you have it in SYSIN instead. You should have:

Code: Select all

//TOOLIN DD * 
COUNT FROM(IN1) 
/* 
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others