Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

File-Aid Batch ADD function

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
hcl_ln

New User


Joined: 14 Sep 2005
Posts: 21

PostPosted: Wed Aug 12, 2009 9:04 am    Post subject: File-Aid Batch ADD function
Reply with quote

Hi,

I have a requirement as below.

The records are below. (file is FB).

Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
9920090811231718000000003 00000000219453                                       
9920090811231718000000001 00000000095099                                       
9920090811231718000000001 00000000029255                                       


Col 17-25 is the count of particular recor type
Col 27-40 is the amount filed

Also, somewhere on the right in Col 170, I have a field which is 9 bytes filled up in the same record line.

Now,my requirement is to add these 3 records (only cols 17-25 & 27-40) and space out the 9 byte field in Col 170 and replicate the record as 1 record. That means, it should appear as :

Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
9920090811231718000000005 00000000343807                                                                               


I searched in the manual but in vain for this type of requirement.
I am not sure if this is a gettable function thru FILE-AID batch. I talked to my friends also but they are also helpless.

Can somebody help please ??

Thanks in advance ! ! !
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2239
Location: @my desk

PostPosted: Wed Aug 12, 2009 9:42 am    Post subject:
Reply with quote

hcl_ln,

May be TALLY/ACCUM functions are what you're looking for. BTW, Is there any specific reason to go for fileaid batch when you can achieve this using your sort product?
Back to top
View user's profile Send private message
hcl_ln

New User


Joined: 14 Sep 2005
Posts: 21

PostPosted: Wed Aug 12, 2009 8:10 pm    Post subject:
Reply with quote

Thanks you arcvns, for the tip. I will look for it.

Well, the reason behind it in looking for FILE-AID is, there is so much of existing code in production in FILE-AID batch. I was looking for something quick just to add to it. To change it to a SORT card, it would take more time.
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us