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 

Help about generating a report

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
diwendu
Beginner


Joined: 24 Mar 2004
Posts: 1
Topics: 1
Location: Indore

PostPosted: Wed Mar 24, 2004 1:51 am    Post subject: Help about generating a report Reply with quote

Hi,
I need some help regarding generating a report without using Easytrieve from say 5 different datasets.I want to take input from 1 dataset and depending on that input I need to prepare a key. From that key I am going to fetch the records from different datasets.
Suppose there are 90 fields in the dataset from which a user can select any field an based upon that I have to bring information from all the five datasets.
My concerns are
1)Without using CICS and REXX is that possible through only cobol
2) How can I take input from user either through JCL or Through file
3) Is Dynamic input possible
4) Validation of each field is possible if dynamic entry is made.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Mar 24, 2004 10:03 am    Post subject: Reply with quote

Diwendu,

Quote:

1)Without using CICS and REXX is that possible through only cobol


I don't see how CICS can solve the problem here. Everything can be done in one single pgm within cobol.

The following will answer all your queries 2 thru 4.

Pass the key fields via parm to the program. The program will read in the parm and the cobol will have 5 internal sorts. Depending on the key fields passed you can sort all the input files on the key fields.

Once sorted , it is an easy task to match the files.

Read the master file and process all the other files until end of master file.

If you think internal sorts are a resource hog, then you can sort the files outside by accepting the parms.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group