• 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
    All posts
    • Sort by:
    • Date ▼
    • Title
    • Likes
    • Comments
    • Views

    DATA-INTO is here! PTFs for 7.2 and 7.2 will be available by March 19, 2018

    barbara_morris 120000DX5W | | Visits (556)
    DATA-INTO reads the data from a structured document, such as a JSON document, into a data structure.   It's like XML-INTO, except that it handles any type of structured document, not just XML. The reason it can handle any type of document is that you have to supply the parser for the document.   See this wiki page, http://ibm.biz/data-into-rpg-opcode-ptfs , in the RPG Cafe for information about The PTFs you need A sample JSON parser...   [Continue Reading]


    Tags:  rpgcafe rpg

    More 7.2 and 7.3 enhancements for 2017

    barbara_morris 120000DX5W | | Visits (2117)
    RPG compiler enhancements for 7.2 and 7.3 are now available through PTFs. The enhancements New built-in function %PROC returns the external name of the current procedure (RFE 93086) Complex qualified names can be used in more places %ELEM %SIZE DEALLOC (RFE 102087) RESET Support for PCML version 7.0 which allows varying-length subfields and arrays. See the wiki page (link below) for current restrictions as to where you can actually use this...   [Continue Reading]


    Tags:  rpg

    ALIGN(*FULL), the forgotten 3rd child of the spring 2017 RPG enhancements

    barbara_morris 120000DX5W | | Visits (2735)
    I have read several articles about nested data structures, and a few about %MAX and %MIN. I understand why these are more attractive than an enhancement that just changes how ALIGN works. I really do understand. We put "nested data structures" first in the lists of these enhancements because we know that's the most attractive one. But don't ignore ALIGN(*FULL). It can be very important. With just ALIGN, %SIZE(ds_array) might not...   [Continue Reading]

    7.2 and 7.3 enhancements for nested data structures, %MAX & %MIN, ALIGN(*FULL)

    barbara_morris 120000DX5W | | Visits (2477)
    The following RPG compiler enhancements for 7.2 and 7.3 are now available through PTFs. The enhancements Nested data structures ( RFE 87967 ) (in free-form declarations only) %MAX and %MIN built-in functions  ( RFE 93114 ) ALIGN(*FULL) to cause the size of a data structure to be a multiple of it's alignment. ( RFE 94630 ). This will be of special interest to anyone who uses the regex functions, who may have their regex_t...   [Continue Reading]

    How to compile an RPG module or program with PCML included in the object

    barbara_morris 120000DX5W | | Visits (3920)
    To get PCML embedded in your module or program, add the following keyword to your H spec: PGMINFO(*PCML : *MODULE) If you are on 7.1 or later, and have the required PTFs described in this RPG Cafe wiki page, https://ibm.biz/rpgCafe_PCML_enhancements , you can get "nicer" PCML, with mixed-case names, by coding PGMINFO(*PCML : *MODULE : *DCLCASE) What is PCML? If you're wondering what "PCML" is, it stands for "Program...   [Continue Reading]


    Tags:  rpg pcml rpgcafe iws

    Upcoming RPG enhancements timed with the 7.2 and 7.3 TRs for spring 2017

    barbara_morris 120000DX5W | | Visits (5425)
    The IBM i announcements for the 7.2 and 7.3 TRs don't mention the three upcoming RPG enhancements that will be available through PTFs at the same time as the TRs. The PTFs will be available individually, and they will also be part of the upcoming 7.2 and 7.3 DB2 group PTFs . More information about the PTFs will be available in the RPG Cafe wiki when the PTFs are available. Short URL for this blog entry:...   [Continue Reading]


    Tags:  rpg rpgfree

    Enhancement for 7.2 and 7.3: ON-EXIT section to be run whenever a procedure ends

    barbara_morris 120000DX5W | | Visits (3188)
    7.2 and 7.3 PTFs are available today with an enhancement for the ILE RPG compiler that will make it much easier to ensure that your cleanup code runs every time your procedure ends, either normally or abnormally. For more information, see http://ibm.biz/RPG_ON_EXIT_Section.

    Tags:  rpgcafe rpg_cafe rpg

    Compile RPG from Unicode source - new TGTCCSID parameter in 7.1, 7.2, 7.3

    barbara_morris 120000DX5W | | Visits (2526)
    RPG has delivered its first RFE! https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=92809 Without the PTF that provides the new TGTCCSID parameter for the CRTBNDRPG and CRTRPGMOD commands, it was impossible to compile if the primary source file was a Unicode IFS file. Now, with a PTF for 7.1, 7.2, or 7.3, if you specify TGTCCSID(*JOB) or a specific EBCDIC CCSID such as TGTCCSID(37), you can compile from Unicode source. For...   [Continue Reading]

    What's Brand New in 7.3 for RPG?

    barbara_morris 120000DX5W | | Visits (3874)
    Many of the features listed in the What's New section of the 7.3 RPG reference are not actually new in 7.3. Several features are already available through PTFs for 7.1 and 7.2 (see the " What's new since 7.2 " page in the 7.2 reference. Here are the features that are brand new in 7.3 (These are not planned to be made available for earlier releases through PTFs) %SCANR (scan...   [Continue Reading]

    Have you heard of the /SET and /RESTORE directives?

    barbara_morris 120000DX5W | | Visits (3263)
    In 7.2, two new directives were added for ILE RPG. /SET temporarily changes the defaults for some D spec keywords from the defaults set by the H spec. /RESTORE undoes the effects of the active /SET directive. http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/cdset.htm http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/cdrestore.htm If you code /SET in a /COPY file, there is an implicit /RESTORE at the end of the copy...   [Continue Reading]
    • Show:
    • 10
    • 20
    • 30
    • Previous
    • Next
    1 2 3 4 5