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

Report heading in easytrive program


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

New User


Joined: 20 Jan 2004
Posts: 42

PostPosted: Tue Dec 04, 2007 8:42 pm
Reply with quote

Hi Guys,

I want to write a report as follows.

emp-name emp-no emp-dep
dep-no address state

and the values would be

madan 123 acc
abc 7, blue ave AZ

How can i achive this format using easytrive code?

Your immediate response would be highly appreciated.

Thanks
shakti
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Dec 05, 2007 3:43 am
Reply with quote

Hello,

Will there be multiple sets of values for each set of headers or will the headers and values be 1 for 1?

You might create a file rather than a report.
Back to top
View user's profile Send private message
shakti

New User


Joined: 20 Jan 2004
Posts: 42

PostPosted: Wed Dec 05, 2007 8:43 am
Reply with quote

Hi dick,

I am reading a file and write to the above reformat to the output file with multifile set of values for each set of headers.

Hope this will jelp you to understand my need.

Thanks in advance
shakti
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Dec 05, 2007 8:22 pm
Reply with quote

Hello Shakti,

Yes, i believe i understand the requirement.

I also believe that you haven't understood what was suggested.

If you define the output as just another file (not a report), you can place the "headers" and the "values" as you need them in the output. An output "file" can be directed to the print queue by using SYSOUT rather than DSN=.
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 Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top