× 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: Default for command without default value?
  • From: barsa@xxxxxxxxxxxxxxxxxxx
  • Date: Tue, 31 Jul 2001 12:26:37 -0400


This is correct.

Al

Al Barsa, Jr.
Barsa Consulting Group, LLC

400>390

914-251-1234
914-251-9406 fax

http://www.barsaconsulting.com
http://www.taatool.com





                                                                                
                                         
                    rob@dekko.com                                               
                                         
                    Sent by:                   To:     MIDRANGE-L@midrange.com  
                                         
                    owner-midrange-l@mi        cc:                              
                                         
                    drange.com                 Subject:     RE: Default for 
command without default value?               
                                                                                
                                         
                                                                                
                                         
                    07/31/01 11:37 AM                                           
                                         
                    Please respond to                                           
                                         
                    MIDRANGE-L                                                  
                                         
                                                                                
                                         
                                                                                
                                         





But isn't IBM starting to hardcode QSYS on every command call?  And getting
even more extensive with future releases?  Let's say that they change PDM
so that option 14 uses QSYS/commandname.  Kinda hoses you.

Rob Berendt

==================
A smart person learns from their mistakes,
but a wise person learns from OTHER peoples mistakes.



                    Joel Fritz

                    <JFritz@sharperimag        To:
"'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com>
                    e.com>                     cc:

                    Sent by:                   Subject:     RE: Default for
command without default value?
                    owner-midrange-l@mi

                    drange.com



                    07/30/2001 12:55 PM

                    Please respond to

                    MIDRANGE-L







You could create a command by the same name or a similar name that supplies
the defaults you want and put it in a library above qsys on the system
portion of the library list.

> -----Original Message-----
> From: JIM LANGSTON [mailto:JLANGSTON@CELSINC.COM]
> Sent: Monday, July 30, 2001 10:16 AM
> To: MIDRANGE-L@midrange.com
> Subject: RE: Default for command without default value?
>
>
> Yes, this would work for me, but then the other programmers
> here would have
> to do the same thing.  There are 3 programmers here and it
> would be nice to
> have something that would make a standard so we don't forget.
>  Something
> that could be done in one place for everyone.
>
> Jim Langston
> Programmer/Analyst
> Cels Enterprises, Inc.
>
> -----Original Message-----
> From: owner-midrange-l@midrange.com
> [mailto:owner-midrange-l@midrange.com]On
> Behalf Of jerickson@800.com
> Sent: Monday, July 30, 2001 9:36 AM
> To: MIDRANGE-L@midrange.com
> Subject: RE: Default for command without default value?
>
>
> Create a User-Defined Option in PDM such as:
> Option  Command
> CR    ? SBMJOB CMD(CRTRPGPGM PGM(&L/&N) SRCFILE(&L/QRPGSRC)
> OPTION(*SRCDBG))
> JOB(&N)
> Then from PDM enter CR for the option at the desired RPG
> Source member and
> you'll be prompted the the submit job with the CRTRPGPGM command.
> Regards,
> Jon A. Erickson
> Sr. Programmer Analyst
> 800.COM Inc.
> 1516 NW Thurman St
> Portland, OR  97209-2517
>
> Direct: 503.944.3613
> Fax: 503.943.9313
> Web: http://www.800.com
> -----Original Message-----
> From: JIM LANGSTON [mailto:JLANGSTON@CELSINC.COM]
> Sent: Monday, July 30, 2001 9:25 AM
> To: MIDRANGE-L
> Subject: Default for command without default value?
>
>
> Hi,
> I tried to add a default value to the CRTRPGPGM command for the OPTION
> parameter for *SRCDBG to always compile with debug
> information.  Error came
> back that OPTION didn't have a default parameter, so I
> could't change it.
> Makes sense, but begs the question, how do I add a default value to a
> command parameter without a current default parameter?
> I would guess I would have to recompile the command, which I
> can't find for
> the system commands, so would have have to create my own
> command and set all
> the defaults I wanted and stick it higher in my library list
> not to mess
> with the system command.  Seems like a bit of a headache
> getting all the
> parameters right though.
> Is there an easier way?  If not, I will probably create a CL
> interface that
> calls CRTRPGPGM with the default values I want and create a CRTRPGPGM
> pointing to my CL, which I know the subset parameters of.
> Regards,
> Jim Langston
> Programmer/Analyst
> Cels Enterprises, Inc.
>
>
+---
| 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
+---




+---
| 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
+---




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


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.