An alternative to this, is, the division users likely have separate profiles. Use a user-settings file, that associates the user to a specific division. Then in your program, check the file, and pull the appropriate division value, then you don't need to pass the value in.

"Terry Anderson" <terrya@xxxxxxxxxxxx> 01/03/08 12:04 PM >>>

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.