delay was due to parallel processing



thank you guys...

problem is solved but i am still lokking for a better way !!!

everything was fine... the only problem was the executable was being
called as a parallel process.. and the compiler was reaching the
section of the VB code that uses the output file even before its
generation was complete from the fortran executable and giving an error
of file not found

the output file was being generated but with a delay.

So I now keep a dummy blank txt file with the same name in the
directory. Which is later on over written by the file generated from
fortran.... and it works !!!

Though I am still looking for a better way....

Any suggestions

glen herrmannsfeldt wrote:
akansha.khandelwal@xxxxxxxxx wrote:
(snip)

I do this using shell command. The shell command returns a number
(probably task sequence) which proves that the fortran exe is executed
but output file is not generated.

It will be in the current directory of the program that created
it, which may not be where you expect.

-- glen

.



Relevant Pages

  • Fortran executable with Visual Basic : delay was due to parallel processing
    ... aka wrote: ... problem is solved but i am still lokking for a better way!!! ... the output file was being generated but with a delay. ... glen herrmannsfeldt wrote: ...
    (comp.lang.fortran)
  • Dummy
    ... an output file except sometimes you need a DCB which is hardly unpredictable. ... DD DUMMY output nor has anyone any experience with it not doing exactly what they ... I'm going to post this question on mvshelp see if anyone has a clue what this is supposed to mean. ...
    (comp.lang.cobol)
  • Re: Dummy
    ... I am not certain if a DD DUMMY might "interfer" with that. ... As far as coding a DCB for a DD DUMMY file, ... "DCB attributes coded for a DD DUMMY do not override those coded in the FD ... > an output file except sometimes you need a DCB which is hardly unpredictable. ...
    (comp.lang.cobol)
  • Re: Dummy
    ... One other anomaly using DUMMY: ... If you concat a DUMMY file any other place but the last file position, ... > this CYA note in the COBOL manuals. ... >> an output file except sometimes you need a DCB which is hardly unpredictable. ...
    (comp.lang.cobol)