Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
giopoi Absent Member.
Absent Member.
1605 views

web runtime AcuParam1 .. 14 in <object> tag

Jump to solution

why AcuParam are not recognized?

 <OBJECT ID="AcuGTAX1" WIDTH=640 HEIGHT=480

    CLASSID="CLSID:077C768D-64C1-4AC1-845D-4589B4B2C24E"

    CODEBASE="www.acucorp.com/.../acugtax

 acugtax8121.cab#Version=8,1,2,2949">

    <PARAM NAME="SRC" VALUE="http://localhost/myaspx/acu/Cogeweb.acu">

    <PARAM NAME="AcuEmbedded" VALUE="TRUE">

    <PARAM NAME="AcuParam1"   VALUE "_PARAZZA">

    <PARAM NAME="AcuParam2"   VALUE "PARAZZAPARAZZA">

    <PARAM NAME="AcuParam3"   VALUE "CogeWeb_Call_Sime">

    <PARAM NAME="AcuParam4"   VALUE "10">

In cobol program "c$getvariant" return blanks.

0 Likes
1 Solution

Accepted Solutions
giopoi Absent Member.
Absent Member.

RE: web runtime AcuParam1 .. 14 in <object> tag

Jump to solution

I restarted IIS and now works

View solution in original post

0 Likes
3 Replies
Micro Focus Expert
Micro Focus Expert

RE: web runtime AcuParam1 .. 14 in <object> tag

Jump to solution

Based on what I see in the documentation ... Programmers Guide to the Internet

Chapter 5: Using the ACUCOBOL-GT Web Runtime > 5.6 Invoking Your COBOL Application with the Web Runtime > 5.6.1 Using the <OBJECT> Tag > 5.6.1.3 Web runtime object interface :

The Web runtime's object interface consists of the following methods and properties. Some are bi-directional (B), some are write only (W), and others are read only (R).

AcuParam1 W

AcuParam2 W

It would appear that the AcuParam are write only, not Read or bi directional.

0 Likes
giopoi Absent Member.
Absent Member.

RE: web runtime AcuParam1 .. 14 in <object> tag

Jump to solution

I think conversely that the AcuParam are bi directional because this works:

     <SCRIPT LANGUAGE="VBScript">

     sub button1_onclick()

        call AcuGTAX.src("http://localhost/myaspx/acu/Cogeweb.acu")

        call AcuGTAX.AcuEmbedded(1)

        call AcuGTAX.AcuOptions(" -d -c cblconfi.giovanni")

        call AcuGTAX.AcuParam1("_PARAZZA")

        call AcuGTAX.AcuParam2("CogeWebCallSime")

        call AcuGTAX.AcuParam3("11")

        call AcuGTAX.AcuExecute()

     end sub

     </SCRIPT>

thanks for the reply

0 Likes
giopoi Absent Member.
Absent Member.

RE: web runtime AcuParam1 .. 14 in <object> tag

Jump to solution

I restarted IIS and now works

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.