• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Reader Feedback and Insights: Another Compression Utility

    October 18, 2002 Timothy Prickett Morgan

    Hey, Ted:

    There’s another free compression utility that can do the same good work on save files . It’s part of a free download from IBM .

    The utility is called gzip, and it’s a part of GNU Tools. The GNU utilities can be downloaded at IBM’s Application Factory – Porting: GNU utilities download page . It appears it might be bundled with WDS V5R1.

    Gzip runs in Qshell, but it is a link to a *PGM object. I’ve been able to make a copy of GNU/GZIP and call it. Just put each option-value pair inside apostrophes or single quote

    …

    Read more
  • Reading Spool Files in RPG

    October 18, 2002 Timothy Prickett Morgan

    Hey, Ted:

    I have a problem similar to the one you solved in the February 27, 2002, issue of Midrange Guru. I wish to copy a spooled file that has been produced by a package, run an RPG program to modify the output, and build a new spooled file. In that example, you specified CTLCHAR(*FCFC) in the Copy Spooled File (CPYSPLF) command in order to use first-character form control characters. Can an RPG program interpret those characters and generate a new spool file with the same spacing?

    — Joe

    If you only want to modify the lines and reprint

    …

    Read more
  • Hex Dump of an IFS File

    October 18, 2002 Timothy Prickett Morgan

    Hey, Ted:

    How can I get a hexadecimal dump of an IFS file?

    — Charles

    Use the od utility, which runs under Qshell. Use the t option to tell od which format(s) you want to see. Here’s a list of all the formats you can request.

    • a, c character
    • d signed decimal
    • f floating point
    • o octal
    • u unsigned decimal
    • x hexadecimal

    To display a file in hexadecimal, follow the t option with an x.

    I can illustrate with a simple text file, which I’ll call err.log. The CCSID attribute is 37, which means the data is stored in EBCDIC.

    …

    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