IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Count the records and Create Header and Trailer


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
thesumitk

Active User


Joined: 24 May 2013
Posts: 155
Location: INDIA

PostPosted: Mon Mar 04, 2019 11:18 pm
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: 155
Location: INDIA

PostPosted: Mon Mar 04, 2019 11:48 pm
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: 2632
Location: NYC,USA

PostPosted: Tue Mar 05, 2019 12:29 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Add column to existing records using ... JCL & VSAM 2
No new posts Syncsort- Merging two records into on... SYNCSORT 3
No new posts How to find orphaned MCDS D records. JCL & VSAM 15
No new posts COUNT the number of duplicates DFSORT/ICETOOL 3
No new posts Selecting multiple constant records DB2 3
Search our Forums:

Back to Top