• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • SBMJOB’s RQSDTA Parameter

    December 11, 2002 Timothy Prickett Morgan

    Hey, Ted:

    In the “Odds and Ends” column that published in Midrange Guru on November 8, 2002, you wrote about appending an extra character to the end-of-character parameters that are longer than 32 characters in order to pass them through the Submit Job (SBMJOB) command without running into the problem of garbage data replacing trailing blanks. There is another alternative.

    The alternative choice is to use the Request Data (RQSDTA) parameter instead of the Command (CMD) parameter.

    These two simple example CL programs show the difference:

    TstSbmPgm:  pgm
    
     dcl   &cmdstr   *char  64  value( 'sndmsg hi MyMsgQ' )
     dcl   
    …

    Read more
  • Subfile Positioning

    December 11, 2002 Timothy Prickett Morgan

    Hey, Ted:

    I have several RPG IV programs that display a subfile in a work-with-like display. Users enter option numbers in the option field that begins each subfile record. When a user selects a subfile record, the system usually displays another display format in order to handle the request. When the subfile is redisplayed, the first page of the subfile is shown. How can I position the subfile to the page that contains the selected subfile record?

    — Patrick

    You need to add the Subfile Record Number (SFLRCDNBR) keyword to your display files. Use this keyword with a four-digit, hidden,

    …

    Read more
  • Readers Prefer ISDB

    December 11, 2002 Timothy Prickett Morgan

    Dear Readers:

    In the article, “Use the Full-Screen Debugger with OPM Programs,” which published in the November 6, 2002, edition of Midrange Guru, I asked for your reasons why you prefer ISDB to the full-screen ILE debugger. Several of you responded.

    Here are the reasons some Midrange Guru readers prefer ISDB, in order of preference.

    Most readers liked the fact that ISBD allows you to watch the value of one or more variables as you step through the source code. The variables’ values are shown at the top of the display. STRDBG requires you to continually press

    …

    Read more

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Power Systems Grows Nicely In Q3, Looks To Grow For All 2025, Too
  • Beta Of MCP Server Opens Up IBM i For Agentic AI
  • Sundry IBM i And Power Stack Announcements For Your Consideration
  • Please Take The IBM i Marketplace Survey
  • IBM i PTF Guide, Volume 27, Number 43
  • IBM Pulls The Curtain Back A Smidge On Project Bob
  • IBM Just Killed Merlin. Here’s Why
  • Guru: Playing Sounds From An RPG Program
  • A Bit More Insight Into IBM’s “Spyre” AI Accelerator For Power
  • IBM i PTF Guide, Volume 27, Number 42

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle