• 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

  • IBM Tweaks Some Power Systems Prices Down, Others Up
  • Disaster Recovery: From OS/400 V5R3 To IBM i 7.4 In 36 Hours
  • The Disconnect In Modernization Planning And Execution
  • Superior Support: One Of The Reasons You Pay The Power Systems Premium
  • IBM i PTF Guide, Volume 25, Number 13
  • IBM i Has a Future ‘If Kept Up To Date,’ IDC Says
  • When You Need Us, We Are Ready To Do Grunt Work
  • Generative AI: Coming to an ERP Near You
  • Four Hundred Monitor, March 22
  • IBM i PTF Guide, Volume 25, Number 12

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 © 2023 IT Jungle