• 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

  • The Power11 Transistor Count Discrepancies Explained – Sort Of
  • Is Your IBM i HA/DR Actually Tested – Or Just Installed?
  • Big Blue Delivers IBM i Customer Requests In ACS Update
  • New DbToo SDK Hooks RPG And Db2 For i To External Services
  • IBM i PTF Guide, Volume 27, Number 33
  • Tool Aims To Streamline Git Integration For Old School IBM i Devs
  • IBM To Add Full System Replication And FlashCopy To PowerHA
  • Guru: Decoding Base64 ASCII
  • The Price Tweaking Continues For Power Systems
  • IBM i PTF Guide, Volume 27, Numbers 31 And 32

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