MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 5 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: Write an easytrieve program on a file with occurances
Max

Replies: 1
Views: 1790

PostForum: Application Programming   Posted: Mon Jul 14, 2003 12:51 am   Subject: Write an easytrieve program on a file with occurances
Can someone help me write an easytrieve job to generate a report for all occurances for a field(eg NAFM-H-CUST-NBR ) in the file below.

The report Im trying to generate will contain:

NAFM-COACC ...
  Topic: Output highest value for a given field
Max

Replies: 6
Views: 4000

PostForum: Application Programming   Posted: Mon Jul 14, 2003 12:38 am   Subject: Output highest value for a given field
Frank,

Thanks for your help. My job has completed successfully.
  Topic: Output highest value for a given field
Max

Replies: 6
Views: 4000

PostForum: Application Programming   Posted: Sat Jul 12, 2003 5:43 am   Subject: Output highest value for a given field
Kolusu,

That would be really great if you can let me know a bit about the sort utilities. Also,
if my example above used a valid date format eg 030701(yymmdd) can I still utilise the last-dup stat ...
  Topic: Output highest value for a given field
Max

Replies: 6
Views: 4000

PostForum: Application Programming   Posted: Wed Jul 09, 2003 9:59 pm   Subject: Output highest value for a given field
Kolusu,

You are champ! The last-dup statement returned the desired output.


On another note, in the scenario below, the last-dup statement will only return the last duplicate entry which is not ...
  Topic: Output highest value for a given field
Max

Replies: 6
Views: 4000

PostForum: Application Programming   Posted: Wed Jul 09, 2003 7:52 pm   Subject: Output highest value for a given field
I am writing an easytrieve program and would appreciate it if someone could advise me on how to generate a report with only the hightest( or maximum) for a given field.

Example

Field 1 Fi ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group