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

How to implement delimiter for summary record in Easytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sureshbabu.jv

New User


Joined: 11 Apr 2006
Posts: 41
Location: Chennai

PostPosted: Tue Nov 12, 2013 5:53 pm
Reply with quote

I have written a new easytrieve program to create the summary report with ',' delimiter .The data is coming fine and getting the ',' delimiter for the line/header records but not coming for the Last summary record.Due to this summary record was not correctly formatted in the excel.

Please let me know if we can implement delimiter for the summary record also else I have to use SORT card to put the delimiter that I do not want.

Thanks,
Suresh
Back to top
View user's profile Send private message
Ramsee

New User


Joined: 06 Jan 2011
Posts: 53
Location: Chennai

PostPosted: Tue Nov 12, 2013 6:29 pm
Reply with quote

Hi Sureshbabu,

Could you please provide an easy example with the current input file and output file and your expected output for better understanding of your issue.
Back to top
View user's profile Send private message
sureshbabu.jv

New User


Joined: 11 Apr 2006
Posts: 41
Location: Chennai

PostPosted: Wed Nov 13, 2013 6:48 am
Reply with quote

Input file have the below date. Last record is detail copy/summary record.It will be created by easytreive SEQUENCE.CONTROL statements.

Code:
DLR Number ,Principal ,Shares ,Trans Code ,
",="0111   ",100 ",   "5 ",="ABC",
",="0111   ",200 ",   "10 ",="cDF",
    0111     300       15


I have used the delimter to get the data in CSV format and it's coming fine for header and line records but not for last summary record as it was created by easytreive prgoram. Not sure how we can add the delimter within the program instead using extertnal sort insert the delimter.

Code'd
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Nov 13, 2013 12:49 pm
Reply with quote

Having not shown the code for the REPORT:

Have a look at CONTROL .. NOPRINT. That will stop Easytrieve Plus printing the total.

Then you need a report procedure. BEFORE-BREAK or AFTER-BREAK will do, since you've turned off the printing. In that PROC you put a DISPLAY statement naming the fields you want to print, and any other literals.

You'll probably need your manual if you have not used report procedures before, but they are simple to use.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top