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



(did not try anything, i am just here for the ideas)

first off: nothing would be long enough but the guy(m/f) who invented 123 should be invited for a little chat on his career in software design (probably the guy(m/f) deservs a medal because he/she found 123 bytes somewhere in a data structure where another girl(m/f) forget to reserve room for strpccmd in the first place (i should write a book))

now:

a: Can you create a .bat file in the IFS and execute that?

b: Would it be possible to create an environment variable in several strpccmd steps and finally execute that:

<CL SOURCE>
chgvar &command value("mozilla http://www.this.is.too.long.command.etcetera";)


strpccmd cmd('envvar='  *tcat %sst(&command 1 100))
strpccmd cmd('envvar=´%envvar%'  *tcat %sst(&command 101 100))
strpccmd cmd('envvar=%envvar%'  *tcat %sst(&command 201 100))

strpccmd cmd('%envvar%')
</CL SOURCE>

b works in the cmd shell. Also, i know that strpccmd is using the environment variables of the terminal emulator which should be static between strpccmd calls.

regards,

Wim


Patrick L Archibald wrote:


Hey

I'm sending a long URL, about 150 characters, from the AS/400 to a PC with the STRPCCMD command. The maximum length of the PCCMD parameter is 123 characters. Is there anyone besides me that would like to have the length extended to 256 or 512? Maybe we can get IBM to lengthen it.

Thanx, PLA



_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




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.