Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Count the records and Create Header and Trailer

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
thesumitk

Active User


Joined: 24 May 2013
Posts: 154
Location: INDIA

PostPosted: Mon Mar 04, 2019 11:18 pm    Post subject: Count the records and Create Header and Trailer
Reply with quote

Hi All,

I have below requirement , I searched in forum but could not find much hence asking the experts advice here.


Code:


Input File
AAAAA|BBBB|
AAAAA|BBBB|
AAAAA|BBBB|
AAAAA|BBBB|
AAAAA|BBBB|


Output file
UHDR  20190609(This is Current Julian Date)
AAAAA|BBBB|
AAAAA|BBBB|
AAAAA|BBBB|
AAAAA|BBBB|
AAAAA|BBBB|
UTRL 00000007( This is the record count including header and trailer)


Here in my new app they are using ICETOOL which i used rarely in my past experience ,Can someone help to achieve this .Is it possible thru ICETOOL

Please let me know for any questions.Thanks

Regards
Sumit Chaturvedi
Back to top
View user's profile Send private message

thesumitk

Active User


Joined: 24 May 2013
Posts: 154
Location: INDIA

PostPosted: Mon Mar 04, 2019 11:48 pm    Post subject: Re: Count the records and Create Header and Trailer
Reply with quote

[quote="
Output file
UHDR 2019060(This is Current Julian Date)
Sorry my typo - The Date is 2019060

Regards
Sumit Chaturvedi[/quote]
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2487
Location: NY,USA

PostPosted: Tue Mar 05, 2019 12:29 am    Post subject:
Reply with quote

If you Google it , there so many similar post on this. All you need to do is search with right keywords.
E.g
http://www.ibmmainframeforum.com/dfsort-icetool-icegener/topic5706.html
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to get total count from numeric d... Suehowe SYNCSORT 9 Fri Oct 09, 2020 8:34 pm
No new posts Creating a single-record file with CO... Joerg.Findeisen DFSORT/ICETOOL 8 Tue Oct 06, 2020 8:19 pm
No new posts JCL to extract repeating records saikarthik94 DFSORT/ICETOOL 6 Mon Oct 05, 2020 8:05 pm
No new posts Group selective VB records - Trailer ... Premnath_TJ DFSORT/ICETOOL 16 Sun Sep 13, 2020 3:38 am
This topic is locked: you cannot edit posts or make replies. SORT the records based on the second ... Ramsee SYNCSORT 1 Wed Aug 19, 2020 3:01 pm

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