Need help in ICETOOL to insert SPACES/Header as a record

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

Moderators: Frank Yaeger, Moderator Group

Post Reply
Arun.Balu
Member
Posts: 5
Joined: Fri Jun 29, 2012 8:33 pm

Need help in ICETOOL to insert SPACES/Header as a record

Post by Arun.Balu » Thu Jan 28, 2016 3:37 pm

Hello All

Thanks for your time on this !!

I have to write a ICETOOL JCL to provide the summary of the input with header and trailer as BLANK records

Instance:

My input format

Name Subject
Arun Maths
Akil English
Satish Maths
Raj English
Vatsan English


My output should look alike:

**********************
Total person: 5
Total person in English: 3
Total person in MATHS: 2
**********************

OR

----- BLANK record ------
Total person: 5
Total person in English: 3
Total person in MATHS: 2
----- BLANK record ------

Ps: I am able to get the summary part using count, EDCOUNT .. But not able to get the header and trailer part

Could you please anyone help on this?

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Thu Jan 28, 2016 4:32 pm

If you can show your code which is working for the summary, we can suggest how to get what you need.

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