ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Pointers...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: Pointers...

    It sounds like you want to do reflection. You could do this in a 21st century enterprise language like Java or C# but not in RPG. In RPG sub procedures with local variables are considered state of the art... Having said that there may be a workaround. Is there another way to solve your particular problem?
    Ben

    Comment


    • #17
      Re: Pointers...

      Originally posted by BenThurley View Post
      In RPG sub procedures with local variables are considered state of the art...
      Yep, 17 years ago.
      Michael Catalani
      IS Director, eCommerce & Web Development
      Acceptance Insurance Corporation
      www.AcceptanceInsurance.com
      www.ProvatoSys.com

      Comment


      • #18
        Re: Pointers...

        Originally posted by MichaelCatalani View Post
        Yep, 17 years ago.
        That may have been when they were introduced. A bunch of guys at our place used to work for a large financial institution and they apparently had a service program department! If you wanted anything like that written then it had to go through this specialist department as ordinary RPG developers weren't trusted with the new fancy language features.

        I'm sure that's not an isolated case either. I see new programs created all the time in fixed format RPG with subroutines rather than sub-procedures. I guess some people stick to what they know best.
        Ben

        Comment


        • #19
          Re: Pointers...

          Originally posted by BenThurley View Post
          That may have been when they were introduced. A bunch of guys at our place used to work for a large financial institution and they apparently had a service program department! If you wanted anything like that written then it had to go through this specialist department as ordinary RPG developers weren't trusted with the new fancy language features.

          I'm sure that's not an isolated case either. I see new programs created all the time in fixed format RPG with subroutines rather than sub-procedures. I guess some people stick to what they know best.

          There is no doubt that there are some rpg programmers who havent learned, and dont care to learn, ile and free format rpg. It's one of the reasons RPG gets a bad rap, because their old-style programs are the ones that all other modern languages are compared to.

          I like the setup at that company. At a company with a lot of developers, you almost need a service program department (no matter what language you use) to keep duplicate functions from being created and getting out of control. It also allows an easy purge route for those who dont want to develop their RPG skilz beyond what was available in the big-hair 1980's era. If you're in the service program group, you're job is safe. If you arent, you are in the purge group, so your options are to develop your skills or get purged.
          Last edited by MichaelCatalani; January 28, 2011, 12:18 PM.
          Michael Catalani
          IS Director, eCommerce & Web Development
          Acceptance Insurance Corporation
          www.AcceptanceInsurance.com
          www.ProvatoSys.com

          Comment

          Working...
          X