FOR0400S
A Fortran main program was executed from within an enclave that had already started executing. VS FORTRAN Version Error 2 Number: AFB905I

System action

The condition is signaled. If the condition is unhandled, the application is terminated.

Qualifying Data: None

Permissible Resume Actions: None

Programmer response

If you intended to call a Fortran subroutine rather than a main program, then code a SUBROUTINE statement as the first statement of that called routine.

If you want to call a main program, which will be in a new enclave, do this in one of these two ways:
  • Invoke an assembler language program that uses a LINK macro instruction to pass control to the main program and implicitly create a new enclave.
  • Invoke the callable service CEE3CRE, which creates a new enclave and passes control to the main program.
In both cases, the main program that is specified must be in a separate load module.

Symbolic Feedback Code

FOR0400