Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Using 'Call' in Method

$
0
0

I have a reference to the called program in the calling program project.  I checked the dll is in the bin\debug folder of the calling program.  I remove the calling parameter and still get the same message so I think it's the called program that is not being identified.  Here is the Program-ID, linkage section, and procedure header of the subprogram, I also add the call from the calling program.

      program-id. FPACTGN AS "FPACTGN".

      LOCAL-STORAGE SECTION.

      LINKAGE SECTION.

      01  DPMCall.

          05 DPMCLength                   pic 9(4) comp-5.

          05 DPMCType                     pic 9(4) comp-5.

          05 DPMCReturn                   pic 9(4) comp-5.

          05 DPMCReturnFlag               pic x.

          05 DPMCFileName                 pic x(8).

          05 DPMCDefaultPath              pic x(30).

          05 DPMCLoginRecord              pic x(120).

          05 DPMCSharedData.

             10 DPMC-PROGRAM              pic X(8).

             10 DPMC-ACTION               pic X(1).

             10 FILLER                    pic x(3825).

             10 DPMC-VEIWRPT              PIC X(256).

          05 DPMTABLENUM                  PIC X(02).

          05 DPMPASS-RECORD                  PIC X(60).

      PROCEDURE DIVISION USING BY REFERENCE DPMCALL.

Call from main program

          Call "FPACTGN" using PMCALL

PMCALL and DPMCALL are exactly the same except for naming and we use in all programs to move data from program to program

Thanks


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>