× 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: rob@xxxxxxxxx
  • Date: Tue, 31 Jul 2001 13:27:26 -0500


Jim,

C doesn't come as part of the 'package deal' until V5R1.  Then you get
Code/400 and everything else.

Rob Berendt

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


                                                                                
                                         
                    "JIM LANGSTON"                                              
                                         
                    <JLANGSTON@CELSINC.        To:     
<MIDRANGE-L@midrange.com>                                         
                    COM>                       cc:                              
                                         
                    Sent by:                   Subject:     RE: Default for 
command without default value?               
                    owner-midrange-l@mi                                         
                                         
                    drange.com                                                  
                                         
                                                                                
                                         
                                                                                
                                         
                    07/31/2001 12:03 PM                                         
                                         
                    Please respond to                                           
                                         
                    MIDRANGE-L                                                  
                                         
                                                                                
                                         
                                                                                
                                         




Barbara et al,

Yes, I did see the command source that Al Barsa posted, and took a look at
it,
but I am one that always wants the freshest copy of source.  Also, we're on
V4R4M0
and I didn't notice what version the source Al Barsa sent was (could of
been
the
same across versions, I just don't know).

As it is, at this point I'm not changing anything, I'm just manually
changing the
compile options when I compile (I'll probably create a PDA option for
myself).

I'll talk this over with my boss (got one in IS now) and see what he
thinks.
I
downloaded and created the library for RTVCMDSRC, but I dont' think we have
a
C compiler on this box, I'll have to check, pretty sure we don't though.  I
under-
stand, however, that C compilers come with RPG now?  We have V4R5 on the
shelf
that no one has bothered to upgrade yet, perhaps we'll get the C compiler
with that
and then I'll be good to go.

Frankly, I'm not real happy with any of the provided solutions, as I'd
rather just
change the default on the IBM supplied command, but that's just not
possible
it
seems.  Hopefully IBM will rectify that in some future release (ADDCMDDFT
maybe).

Thank you for all the information, everyone, still have to decide what
route
to
go though.  I can no longer make decisions based solely on what I feel is
best
anymore, now got a team to think about.

Regards,

Jim Langston

-----Original Message-----
From: owner-midrange-l@midrange.com
[mailto:owner-midrange-l@midrange.com]On Behalf Of bmorris@ca.ibm.com
Sent: Tuesday, July 31, 2001 9:38 AM
To: MIDRANGE-L@midrange.com
Subject: RE: Default for command without default value?



>Date: Mon, 30 Jul 2001 13:44:24 -0700
>From: "JIM LANGSTON" <JLANGSTON@CELSINC.COM>
>
>Ahh, that sounds like a plan.  If I could retrieve the CMD source for the
>CRTRPGPGM it would be a simple matter for me to edit it and add a default
>for OPTION.  Any clue as to what this home grown command might be called?
>I'll search for RTVCMDSRC and see if anything pops up.

Jim, didn't you notice that Al Barsa posted the CMD source already?  But
I doubt that it will help you.  You can set up a SNGVAL with *SRCDBG, but
as soon as anyone enters some other option, that default goes back to
*NOSRCDBG.  You can't set defaults for all the options.

Me, I'd go the PDM route.  It shouldn't be too hard to get your
co-workers accustomed to compiling with a PDM option.  Especially if you
all agree that using *SRCDBG is a good idea.

Do your folks currently type CRTRPGPGM on the command line?  If so, they
may be ready to learn about PDM.  If not, how are you going to get them
to use your new command instead of using 14?

One more problem with creating your own command to call CRTRPGPGM's CPP
is that it won't work at security level 50.  I'm not sure about 40.

Barbara Morris

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

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.