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




On 22/09/2004, at 10:33 PM, Dan Bale wrote:

Well, that may be part of the issue, since the one instance of UIM I've
played with has 650 records in it. It was a WRKSPLF clone, and I wanted to
change option 9 to use CPYSPLF. The basic function works, but there are
behavioral differences that tend to aggravate after you've thrown several
hours of effort to make it work similar to the way IBM's panels work. Note
that this was at least 6 years ago, probably on a v3r2 system, maybe the
documentation has gotten better since then?

The documentation for UIM hasn't changed much if at all since it's inception. The Application Display Programming manual was last updated (as far as I can tell) in 410. However, everything you need to use UIM is described in that manual. A little thought will deal with any oversights.


Your particular problem is probably because you didn't include the parameters from the command line in the prompted command when you defined the command to UIM.

You should have something that looks like:

:list    listdef=wrksplf
         depth='*'
         maxhead=2
         maxactl=3
         actor=uim
         parms=parms          <----- Note this!!
         botsep=space.

:listact option=9
         help='somehelp'
         enter='CMD CPYSPLF FILE(&FILE.) TOFILE(&TOFILE.) &PARMS.'
         prompt='CMD ?CPYSPLF ?*FILE(&FILE.) ?*TOFILE(&TOFILE.) &PARMS.'
         .9=Copy

You'll also need:

:class   name=parmCL    basetype='char 255'.
:eclass.

and

:var     name=parms     class=parmCL.

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



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.