× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hey Terry;

The STRPCCMD is communicating through your 5250. When it comes to your web
application, this connect/relation between a browser session does not
exists.

The best solution is to provide your CGI program with all data required
based ex on a login profile or what ever comes in handy.



Best regards


Niels Liisberg
IceBreak Chief SW Architect

System & Metode Technologies
Håndværkersvinget 8, DK-2970 Hørsholm
Phone: +45 70 20 36 10
Fax: +45 70 20 30 11
Direct: +45 45 177 055
Mobile: +45 31 158 861
E-mail: nli@xxxxxxxxxxxxxxxxx
Web: www.system-method.com and www.Icebreak.org




-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Terry Anderson
Sent: 3. januar 2008 18:05
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Passing Parms to CGI From CL.

Greetings List,
I hope all of you had a merry Christmas and have a happy and prosperous new
year.

Here is what I am trying to do. I have a CGIDEV2 program that adds footnotes
to an RFQ. Since several divisions will be using this program, I need to
send the division name as well as the RFQ number to the CGI program.

I have the following commands in my CL program:

CHGVAR VAR(&PCCOMMAND) VALUE('START
http://xx.xx.xxx.xx:8014/citcgidevp/GETDIV2?division=' *TCAT &DIVISION *TCAT
'&qstrat_rfq=' *TCAT &QLMRFQ#)

STRPCCMD PCCMD(&PCCOMMAND) PAUSE(*NO)

I can get this to work if I key it into the command line of the browser but
not when I call it from the CL. Can some one tell me what I am doing wrong?
I saw an older post somewhere that said that the START command was limited
to 123 characters. Is that correct and if so, how do you get around this
limitation?


Thanks,


Terry Anderson
Programming Manager
Citation Corporation
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.