Sorry if this question is simple but I don't know where to find the answer.
I have put my input data in a file called ERAUL_4.DAT
I have following command in my code to read the data from it:
DATA IRE /5/
OPEN (5, FILE = 'ERAUL_4.DAT')
OPEN (7, FILE = 'outdata4.txt')
OPEN (8, FILE = 'VERPARAMET.TXT')
WRITE(7,*) '1'
READ(IRE,11) JP(1),JP(2),JP(3),JP(5)
WRITE(7,211) JP(1),JP(2),JP(3),JP(5)
WRITE(8,11) JP(1),JP(2),JP(3),JP(5)
11 FORMAT(4I5)
211 FORMAT(4(I5,', '))
This is a fixed format code.
My project name is called: ConsoleApplication3
I put my input file in the same folder as my project foler (ConsoleApplication3)
Programs runs with no warning.
It seams that it doesn't read the input data becasue I can't get output file.
Am I missing somethiing here?
What is wrong with it?




