Author |
Message |
Topic: Summing columns in Easytrieve report |
rg_nath
Replies: 4
Views: 6057
|
Forum: Application Programming Posted: Mon Oct 12, 2015 7:41 am Subject: Summing columns in Easytrieve report |
Hi William,
Thanks for information. Yes, i have to put a simple PRINT statement to read a file. I will use HEADING instead of TITLE as you told along with SUMMARY SUMCTL DTLCOPY at REPORT statement ... |
Topic: Summing columns in Easytrieve report |
rg_nath
Replies: 4
Views: 6057
|
Forum: Application Programming Posted: Mon Oct 12, 2015 4:24 am Subject: Summing columns in Easytrieve report |
Hi,
I am trying to sum the numeric values from input file based on keys and would like to write into Easytrieve report. Below is my sample program details.
Input File:
********************* ... |
Topic: Carriage Control and Control break sum values issue. |
rg_nath
Replies: 8
Views: 6352
|
Forum: Application Programming Posted: Tue Sep 08, 2015 8:29 am Subject: Carriage Control and Control break sum values issue. |
Hi William,
After commenting first 'DISPLAY SKIP 2' in above my code, the extra skip line was gone. Thanks.
But i need to get rid of CC. i am trying on this but no result and checking in manual ... |
Topic: Carriage Control and Control break sum values issue. |
rg_nath
Replies: 8
Views: 6352
|
Forum: Application Programming Posted: Tue Sep 08, 2015 7:22 am Subject: Carriage Control and Control break sum values issue. |
Hi,
As per client requirement, the report should not have any CC other than '1' . The template of report is created by using FOCUS and client wants the exact format to get in Easytrieve Report.
... |
Topic: Carriage Control and Control break sum values issue. |
rg_nath
Replies: 8
Views: 6352
|
Forum: Application Programming Posted: Tue Sep 08, 2015 6:44 am Subject: Carriage Control and Control break sum values issue. |
Hi William,
Thanks for giving me an Idea. I have put NOPRINT for last CONTROL field and included the below proc. Now i have got the expected space without summing values.
AFTER-BREAK. PROC ... |
Topic: Carriage Control and Control break sum values issue. |
rg_nath
Replies: 8
Views: 6352
|
Forum: Application Programming Posted: Tue Sep 08, 2015 5:07 am Subject: Carriage Control and Control break sum values issue. |
Hi,
I would like to print a report by using CONTROL and SEQUENCE statements. I am getting Carriage control and summing values for minor CONTROL variable which i don't want. Below given the sample c ... |
Topic: Squeeze trailing spaces |
rg_nath
Replies: 9
Views: 7550
|
Forum: Application Programming Posted: Tue Sep 08, 2015 4:16 am Subject: Squeeze trailing spaces |
Hi All,
As this space truncation issue is come up in one of my REPORT section while trying to display Heading part. My first heading is taking from a variable and other headings are constant values ... |
Topic: Squeeze trailing spaces |
rg_nath
Replies: 9
Views: 7550
|
Forum: Application Programming Posted: Thu Sep 03, 2015 10:30 am Subject: Squeeze trailing spaces |
Hi Kolusu,
As per my search in Easytrieve reference documment, i am unable to get such type of function availability. I will try with DO WHILE/UNTIL logic as you said but before that can you pleas ... |
Topic: Squeeze trailing spaces |
rg_nath
Replies: 9
Views: 7550
|
Forum: Application Programming Posted: Thu Sep 03, 2015 8:18 am Subject: Squeeze trailing spaces |
Hi,
is any function or standard macro available for squeezing (removing) trailing spaces of an Alphanumeric field in Easytrieve? i have defined one variable with length 50 and then i have moved the ... |
Topic: Conditional TITLE or HEADING in Easytrieve |
rg_nath
Replies: 5
Views: 5343
|
Forum: Application Programming Posted: Thu Sep 03, 2015 12:42 am Subject: Conditional TITLE or HEADING in Easytrieve |
Thanks William Collins for the information !!
So if i want to print the Title in logical manner, i have to specify 'CONTROL fld1' in REPORT statement.
-Nath |
Topic: Conditional TITLE or HEADING in Easytrieve |
rg_nath
Replies: 5
Views: 5343
|
Forum: Application Programming Posted: Wed Sep 02, 2015 1:09 pm Subject: Conditional TITLE or HEADING in Easytrieve |
Hi Kolusu,
Thanks for the idea. its a basic thing that i have to think before post. i will try it.
-Nath |
Topic: Conditional TITLE or HEADING in Easytrieve |
rg_nath
Replies: 5
Views: 5343
|
Forum: Application Programming Posted: Wed Sep 02, 2015 12:49 pm Subject: Conditional TITLE or HEADING in Easytrieve |
Hi,
Is any chance to code TITLE conditionally in Easytrieve REPORT? I would like to print TITLE or HEADING in a report based on working storage variable value by using IF condition (if any). Like ... |
Topic: Using of Multiple GET and PUT commands |
rg_nath
Replies: 15
Views: 10618
|
Forum: Application Programming Posted: Wed Sep 02, 2015 4:45 am Subject: Using of Multiple GET and PUT commands |
Hi William,
Yes, the LAST-DUP code is working absolutely fine as you told in Easytrieve Plus. But the way of my coding is wrong and i may read the file before/after condition executes that i need t ... |
Topic: Using of Multiple GET and PUT commands |
rg_nath
Replies: 15
Views: 10618
|
Forum: Application Programming Posted: Wed Sep 02, 2015 2:04 am Subject: Using of Multiple GET and PUT commands |
Hi Kolusu,
why you need to populate the last record with high-values?
while getting the result of 'MAX value records' by using LAST-DUP logic, some how the last MAX value record was not popu ... |
Topic: Using of Multiple GET and PUT commands |
rg_nath
Replies: 15
Views: 10618
|
Forum: Application Programming Posted: Mon Aug 31, 2015 12:29 pm Subject: Using of Multiple GET and PUT commands |
Hi Kolusu,
There no column is sorting with numeric or date-time values.
If you wanted to get the max value why not sort the max field Descending and always get the first record instead of gettin ... |
|