Running a .BAT file called from a procedure using Chrome

Use this board to ask questions or have discussions with other Genie users.
Post Reply
mgreenberg@amref.com
New User
Posts: 5
Joined: Mon Nov 26, 2018 11:54 am
First Name: Martin
Last Name: Greenberg
Company Name: American Refining Group
Phone: 4128263009
Address 1: 55 Alpha Drive West
Address 2: The Landings Third Floor
City: Pittsburgh
State / Province: Pennsylvania
Zip / Postal Code: 15238
Country: United States
Contact:

Running a .BAT file called from a procedure using Chrome

Post by mgreenberg@amref.com »

Hello. We just purchased the Genie product and are working thru a few hiccups. This post references a CSV uploaded table into the IBM i that is called from a procedure on the IBM i that references a .BAT file on the user's C: drive. Using IBM's ACS green screens it works fine. It also works when using Genie running with IE11. However, it does not run when Chrome is the browser being used by Genie. Has anyone come across this issue and hopefully resolved it ?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Running a .BAT file called from a procedure using Chrome

Post by Scott Klement »

Hi Martin,

How are you running the .BAT file?
mgreenberg@amref.com
New User
Posts: 5
Joined: Mon Nov 26, 2018 11:54 am
First Name: Martin
Last Name: Greenberg
Company Name: American Refining Group
Phone: 4128263009
Address 1: 55 Alpha Drive West
Address 2: The Landings Third Floor
City: Pittsburgh
State / Province: Pennsylvania
Zip / Postal Code: 15238
Country: United States
Contact:

Re: Running a .BAT file called from a procedure using Chrome

Post by mgreenberg@amref.com »

Hi Scott.

We start the PC organizer and then do a STRPCCMD....

STRPCCMD PCCMD('C:\ARG_GL_UPLOAD_JE\GLULJE.BAT')

Here is the .BAT file...........

C:\Users\Public\IBM\ClientSolutions\Start_Programs\Windows_i386-32\acslaunch_win-32.exe /plugin=upload c:\arg_GL_UPload_je\glulje.dttx

Just running a standard ACS file transfer upload.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Running a .BAT file called from a procedure using Chrome

Post by Scott Klement »

The original versions of Profound UI (including Genie) used a Java Applet to enable STRPCCMD support. In recent years, Chrome (and some others) have discontinued support for Java Applets, preventing this from working. This is likely why it works for you in an older (discontinued) browser like IE 11, but does not work in newer stuff like Chrome or Edge.

We provide two alternatives to the Java Applet. The PC Command Listener and the PC Command Launcher.

The Listener has more features and supports more different PC Command types -- but the Launcher works better on a shared box, such as one using Windows Terminal Services or Citrix.

You can learn more about how to configure Genie for these options here:
http://www.profoundlogic.com/docs/displ ... ration+API

You can download the Listener and Launcher from our download page
http://www.profoundlogic.com/download
mgreenberg@amref.com
New User
Posts: 5
Joined: Mon Nov 26, 2018 11:54 am
First Name: Martin
Last Name: Greenberg
Company Name: American Refining Group
Phone: 4128263009
Address 1: 55 Alpha Drive West
Address 2: The Landings Third Floor
City: Pittsburgh
State / Province: Pennsylvania
Zip / Postal Code: 15238
Country: United States
Contact:

Re: Running a .BAT file called from a procedure using Chrome

Post by mgreenberg@amref.com »

And that's why you make the big bucks...Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest