× 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: "Wills, Mike N. (TC)" <MNWills@xxxxxxxxxxxxxx>
  • Date: Tue, 31 Jul 2001 14:27:47 -0500

You have the option to get it. You must order WDT/400
(http://www-4.ibm.com/software/ad/wdt400/). It is free if you have a
software subscription and a compiler, I think that is all.

Mike Wills
IT Corporate Support
MNWills@taylorcorp.com


-----Original Message-----
From: JIM LANGSTON [mailto:JLANGSTON@CELSINC.COM] 
Sent: Tuesday, July 31, 2001 1:59 PM
To: MIDRANGE-L@midrange.com
Subject: RE: Default for command without default value?


I understand that Code/400 and eveyrthing else went back a few versions. We
now have Code/400 with the upgrade to V4R5 so I understand we are going to
be getting C too.

There was a discussion on this a while back (4 months ago?) in Midrange-L or
this list, dont' remember which, where it was determined that Code/400 and
such were retroactive a few releases (V4R4 with PTF or V4R5, dont'
remember).

I could be wrong, of course, but I don't think so.

Regards,

Jim Langston

I thought I was wrong once, but I was mistaken.

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



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