+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: V5R3 Gotcha / case sensitive program calling in RPG

  1. #1
    Guest.Visitor Guest

    Default V5R3 Gotcha / case sensitive program calling in RPG

    Actually, it is not new to that release. It has been that way for quite a number of releases.

  2. #2
    Guest.Visitor Guest

    Default V5R3 Gotcha / case sensitive program calling in RPG

    Thanks DG, we did make a rather large jump in OS, hopefully we'll be on top of it now.

  3. #3

    Default V5R3 Gotcha / case sensitive program calling in RPG

    dglawrhts wrote: > > Actually, it is not new to that release. It has been that way for quite a number of releases. RPG has always been case sensitive for program calls. Even OPM RPG works this way.

  4. #4
    Guest.Visitor Guest

    Default V5R3 Gotcha / case sensitive program calling in RPG

    I have to disagree Barbara. From my example you can see it was in lowercase before, when we were at V4R5, and it worked. So, somewhere along the way, I'll guess V5R1 or so, something changed. Going to go read about all the cool new stuff in V5R3 now. Gotta go!

  5. #5

    Default V5R3 Gotcha / case sensitive program calling in RPG

    I suspect that the source you compiled is not the source that was used in your previous *PGM object. The CALL has been case sensitive, if my fading memory serves me right, all the way back to S/38 days. Hopefully the program name on the call is the only thing that was changed in the source since the *PGM was created back on V4R5.

  6. #6
    GlenKerner Guest

    Default V5R3 Gotcha / case sensitive program calling in RPG

    If it has been case sensitive then all my programs should be blowing up. I'm on V5R1 and 90% of the calls I've done have been lower case. In fact, the entire source is usually in lower case. I have yet to have a problem calling programs. It sounds to me like this is not an issue (exceptable) in releases at least prior to V5R2. But in V5R3 it is strickly enforced. I think it is silly considering we cannot really create a program (iSeries RPG or RPG ILE) that the object is lower case.

  7. #7
    K.Forsythe Guest

    Default V5R3 Gotcha / case sensitive program calling in RPG

    CALLP and Function calls are not case sensitive unless you add a keyword on the prototype. Any object reference coded inside a quoted string (such as CALL 'PGMX') has been case sensitive for some time - as far as I can recall. I have had NUMEROUS occasions where my students in labs have had their code fail due to this reason. This goes all the back to V4R2 as best I can remember.

  8. #8

    Default V5R3 Gotcha / case sensitive program calling in RPG

    Somebody has got to be wrong here. Either you could or couldn't call the program using lowercase in earlier releases. The standard in every shop I've ever worked in has been to use Upper case. I've always assumed that it was because the OS didn't allow (or automagically translate) lower case but I can't prove it now, since we're on V5R2 here. If there's anyone out there on an earlier realease, could they run a little test just to prove that the call is Case Sensitive and report back on the results? If the call was always case sensitive, then as a few folks have pointed out, Jefferson might have much bigger problems than learning all the "Cool" new stuff in V5R3...... Like figuring out why his Source and Objects are out of Synch. Mike PS: It would also prove that I'm not going senile.

  9. #9

    Default V5R3 Gotcha / case sensitive program calling in RPG

    I don't doubt what you're seeing, but I sure don't understand it... The RPG/400 manual in the V5R3 Information Center is based on V3R0M5 (June 1994) and there it specifically mentions that lowercase literals are not uppercased. I also happen to have a V3R1 system available to me, and it certainly doesn't do uppercasing of literals for OPM or ILE. Very strange.

  10. #10
    K.Forsythe Guest

    Default V5R3 Gotcha / case sensitive program calling in RPG

    The code shown below worked fine for line 1 in uppercase, failed on line 2 in lower case.
    Code

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Lower case - Upper case problem
    By Guest.Visitor in forum RPG
    Replies: 1
    Last Post: 02-23-2004, 04:47 AM
  2. Replies: 4
    Last Post: 03-25-2003, 11:46 AM
  3. Get Name of Calling Program in a Called Program
    By Guest.Visitor in forum Application Software
    Replies: 2
    Last Post: 07-13-2000, 09:32 AM
  4. Convert lower case to Upper case(COBOL/400)
    By Guest.Visitor in forum Application Software
    Replies: 3
    Last Post: 05-25-2000, 09:27 AM
  5. Trigger Program Gotcha
    By Guest.Visitor in forum Programming
    Replies: 1
    Last Post: 10-21-1997, 05:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts