• 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

  • Liam Allan Shares What’s Coming Next With Code For IBM i
  • From Stable To Scalable: Visual LANSA 16 Powers IBM i Growth – Launching July 8
  • VS Code Will Be The Heart Of The Modern IBM i Platform
  • The AS/400: A 37-Year-Old Dog That Loves To Learn New Tricks
  • IBM i PTF Guide, Volume 27, Number 25
  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24

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