× 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.



Rick,

>
> now for a couple more questions.
>
> Phil <sublime78ska> said, in part:
> > work (where the as400 is) I use a combination of PDM and Code.  I
compile
> > everything via PDM, I launch CODE from PDM, I use PDM as my work bench.
>
> How do you launch code from pdm?   STRCODCMD?  could you post a sample pdm
> user defined option?

For CODE editor:
CALL PGM(QCODE/EVFCFDBK) PARM('37' 'Y' 'OS400' '<LOCAL> CODEEDIT
"<CODESVR>&l/&f(&n)"')

For Designer:
CALL PGM(QCODE/EVFCFDBK) PARM('37' 'Y' 'OS400' '<LOCAL> CODEDSU
"<CODESVR>&l/&f(&n)"')

IMPORTANT: 1. you'll want to replace CODESVR with the name of your STRCODE
server  I make mine the name of my *CURLIB.  2. If you're at V5, the library
name is QDEVTOOLS instead of QCODE.

>
> Do you have to issue a STRCODE first?
Yes.

 >
> STRCODE RMTLOCNAME(*RESOLVE) CMNTYPE(*TCPIP)
> PORT(*DFT) USERID(myuser) PASSWORD(******)
>

I don't specify USERID and PASSWORD.  Try it without it.  And make sure you
have defined a *CURLIB, and that no other users specify the same library as
*CURLIB.  This is an absolute requirement when there are two or more users
using CODE.  But even if you're the only one, things will work more smoothly
if you specify a *CURLIB.

This is what the command looks like when I call it:
STRCODE SERVER(CODESVR) RMTLOCNAME('192.168.0.1') CMNTYPE(*TCPIP) PORT(*DFT)

Phil




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.