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


  • Subject: Re: Re: CHGJOB from a CL pgm.
  • From: Evan Harris <spanner@xxxxxxxxxx>
  • Date: Tue, 15 Aug 2000 08:20:36 +1200

Phil

You may need to consider selective prompting for the command (i.e. in front 
of the command name).

My guess is that you need to place the selective prompts in front of the 
command and all the parameters that you want to change, otherwise (as is 
happening) you only get the parameters you have indicated/selected.

If you want to display them but not change them there are another set of 
conditioners to use. If you want to suppress parameters (and I guess in 
this case you might want to) then there is another set of conditioning 
things again.

Re-read the manual regarding the ?? ?- etc.flags and what they do. This is 
the trick to making it work. Test it VERY thoroughly.

Hope this helps
Evan Harris

>Peter, F9 didn't bring up the F10 parameters. The existing program is an 
>RPG program that takes the following:
>
>      I              'DSPJOB JOB('         C        DSP
>      I              'CHGJOB JOB('         C        CHG1
>      I              '??JOBPTY() ??OUTPTY(-C        CHG2
>      I              ') ??PRTDEV() ??OUTQ-
>      I             ')'
>      I              'ENDJOB JOB('         C
>
>
>and then runs a home grown command that displays USer jobs. When the '2' 
>is hit CHGJOB gets invoked:
>
>     C                     MOVE *BLANKS   CHGCMD 80
>     C           CHG1      CAT  JNBR:0    CHGCMD
>     C           CHGCMD    CAT  '/':0     CHGCMD
>     C           CHGCMD    CAT  JUSR:0    CHGCMD
>     C           CHGCMD    CAT  '/':0     CHGCMD
>     C           CHGCMD    CAT  JNME:0    CHGCMD
>     C           CHGCMD    CAT  ')':0     CHGCMD
>     C           CHGCMD    CAT  CHG2:1    CHGCMD
>     C                     CALL 'QCMDEXC'              80
>     C                     PARM           CHGCMD
>     C                     PARM 80        LEN    155
>     C                     ELSE

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.