• Share
  • ?
  • Profiles ▼
  • Communities ▼
  • Apps ▼

Blogs

  • My Blogs
  • Public Blogs
  • My Updates

RPG Cafe Blog

  • Log in to participate
b542d3ac-0785-4b6f-8e53-f72051460822 Blog

About this blog

RPG Cafe Community This is the place for RPG developers and IBM developers to mingle and discuss our favorite language. We'll talk about the language itself, its history, and its future. We will discuss the tools that support it and the directions they are taking.
  • Facebook
  • Twitter
  • Google
  • LinkedIn
  • RSS

Archive

  • March 2018
  • November 2017
  • April 2017
  • March 2017
  • February 2017
  • November 2016
  • September 2016
  • April 2016
  • January 2016
  • November 2015
  • May 2015
  • October 2014
  • August 2014
  • April 2014
  • January 2014
  • November 2013
  • October 2013
  • June 2013
  • April 2013
  • December 2012
  • November 2012
  • June 2012
  • March 2012
  • February 2012
  • January 2012
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • April 2011
  • September 2010
  • July 2010
  • September 2009
  • July 2009
  • April 2009
  • March 2009
  • November 2008

Tags

Recent tweets

    >> Follow @ibmrational on Twitter
    Posts by date
    • Sort by:
    • Date
    • Title
    • Likes
    • Comments
    • Views ▼

    An H spec keyword that you might be missing

    barbara_morris 120000DX5W | | Comments (2) | Visits (8852)
    CCSID(*CHAR : *JOBRUN) Do you have this keyword in your H spec copy file that gets copied into all your source? Or if you don't use a copy file, do you have this option in all your source? You should almost certainly have this keyword. It was introduced officially in V5R3, and through PTFs in V5R1 and V5R2. Why do you need this keyword? RPG has a very strange default way of dealing with the CCSID of alphanumeric data. It should be assuming that...   [Continue Reading]


    Tags:  rpgcafe rpg

    PTFs to make it easier to use data structures for subfile I/O

    barbara_morris 120000DX5W | | Comments (2) | Visits (7113)
    During testing for Open Access, we were reminded of how awkward it is to use a data structure for I/O to subfiles.  Subfiles always use the WRITE operation and at least one of either the CHAIN or READC operations, and possibly the UPDATE operation.  This requires a *INPUT data structure and a *OUTPUT data structure. This isn't unique to subfiles; it's a problem for any record that is used for both input and output.  But it's always a problem for...   [Continue Reading]


    Tags:  subfile rpgcafe

    Is debug active? Here's a procedure that tells you

    barbara_morris 120000DX5W | | Visits (5440)
    Do you ever want some code to run only when the debugger is active?  Here's a procedure you can call to find out: Test program /copy indebug /free if inDebug(); dsply ('The debugger is active'); else; dsply ('The debugger is not active'); endif; return; Member INDEBUG_PR containing the prototype /if not defined INDEBUG_INCLUDED D inDebug pr n extproc('inDebug') /define...   [Continue Reading]


    Tags:  rpgcafe debug
    • Show:
    • 10
    • 20
    • 30
    • Previous
    • Next
    1