View previous topic :: View next topic |
Author |
Message |
dilipnair Beginner
Joined: 18 May 2005 Posts: 3 Topics: 1 Location: Charlotte, NC
|
Posted: Thu May 19, 2005 12:12 am Post subject: Tool that gives out Input/Output Copybooks and Transfomation |
|
|
Hi,
I am searching for tools/programs that would read a COBOL program and give out all the input and output copybooks used by the program and also, if possible, give out the transformations applied on the input fields to come up with the output field values.
{This transformation need not be accurate (0 - 80 % accuracy).}
Thanks for any pointers.
Thanks,
Dilip |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu May 19, 2005 6:33 am Post subject: |
|
|
dilipnair, Quote: |
give out all the input and output copybooks used by the program and also, if possible, give out the transformations applied on the input fields to come up with the output field values.
|
How would you differentiate the copybooks if being used as Input or output?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu May 19, 2005 9:14 am Post subject: |
|
|
Some of the old Y2K products were capable of doing this but I an not sure if they are still around. |
|
Back to top |
|
|
dilipnair Beginner
Joined: 18 May 2005 Posts: 3 Topics: 1 Location: Charlotte, NC
|
Posted: Thu May 19, 2005 9:14 am Post subject: |
|
|
maybe by seeing the modes in which the files are used and the copybooks used corresponding to these files??
or
another may be to use the COBOL program in conjunction with the correspnding JCL??
Would there be tools already in the market which can do such types of analysis? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu May 19, 2005 9:35 am Post subject: |
|
|
Quote: |
maybe by seeing the modes in which the files are used and the copybooks used corresponding to these files??
|
What about COBOL/IMS programs using GSAM databases as Files which don't have the file declarations??
There are different flavours in write itself.
Code: |
WRITE OUTPUT-RECORD
|
Code: |
WRITE OUTPUT-RECORD FROM WORKING-STORAGE-VAR
|
Quote: |
Would there be tools already in the market which can do such types of analysis?
|
I think INFO/X by Diversifiedsoftware will display Cross Reference Information. Check this link
http://www.diversifiedsoftware.com/solutions/products.html
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
dilipnair Beginner
Joined: 18 May 2005 Posts: 3 Topics: 1 Location: Charlotte, NC
|
Posted: Thu May 19, 2005 1:18 pm Post subject: |
|
|
Kolusu,
This is a very useful link that you have provided. It seems it may be something that i was looking for.
The programs I am looking at does not involve any GSAM databases. And hence will always contain the file declarations.
Also, you have rightly pointed out that files may be opened in different modes. But the program base I am looking at has very few instances where this happens (like the input-output mode for the same file) and hence these exceptions can presumably tackled manually. I am looking at some generic tool which can read these simple yet vast code base we have.
Thanks a lot for all your responses. Your responses are very intuitive and quite helpful.
Please let me know if you have anything else to share viz the tool or any procedures you might know.
Thanks a lot!!
Dilip |
|
Back to top |
|
|
|
|