View previous topic :: View next topic
|
Author |
Message |
brganeshbabu
New User
Joined: 23 Jun 2005 Posts: 34 Location: Chennai
|
|
|
|
Hi,
I have COBOL program calling a FORTRAN code. I want to know the business logic and the intermediate values calculated in FORTRAN code. But the write statements in the FORTRAN code does not appear in my job IOF. Only the COBOL display statements are seen. I checked our forum and on google. Can you please help me on this. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Does your fortran routine have "displays"? Do they display to messages or to a file. Is your fortran routine actually being called? Do you have the correct DDname for the Fortran "displays"? If you are sure on all these points then you must have been able to look at the Fortran code so you should be able to deduce the logic and intermittent values from that inspection. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
FORTRAN normally writes to file 7, which would be DD name //FT07F001 DD SYSOUT=* (or it could point to a file instead). |
|
Back to top |
|
|
brganeshbabu
New User
Joined: 23 Jun 2005 Posts: 34 Location: Chennai
|
|
|
|
Hi Robert,
Thanks! It worked. But I used FT06F001 instead of 07. I came to know that Unit number 5 is used to designate input read from card images, unit number 6 is used to designate output written to a printer, and unit number 7 is used to designate output written to card image |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear you got it working -- sorry I got the number wrong; it's been quite a while since I did FORTRAN coding. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
I'm thinking last century FT06 was for punch, which of course need not be an actual punch these days but just another way to output card images. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
why not look at the fortran manuals ??? |
|
Back to top |
|
|
|