• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Another Way to Dump an IFS File

    October 25, 2002 Timothy Prickett Morgan

    Hey, Ted:

    When answering the question that was posed in the October 18 issue of Midrange Guru, “Hex Dump of an IFS File,” you provided a Qshell answer. If you don’t happen to have Qshell installed, you can use two CL commands instead. Here’s how:

    CPY OBJ('/somedir/somefile.txt') +
       TOOBJ('/qsys.lib/somelib.lib/hexifs.usrspc') +
       TOCODEPAGE(*CALC) DTAFMT(*TEXT)
    
    DMPOBJ DMPOBJ OBJ(somelib/hexifs) +
       OBJTYPE(*USRSPC)
    

    Experiment with the codepage and data format parameters of the Copy (CPY) command to give needed conversions.

    There are a couple of other details of which you should be aware:

    • CPY fails if the user space already exists.
    • Using CPY to copy from a streamfile to a user space requires *AUDIT special authority.

    — Tom Liotta
    The Powertech Group Inc.
    www.powertech.com

    Sponsored By
    ADVANCED SYSTEMS CONCEPTS

    Business Analytics
    – Practical –
    – Cost Effective –
    – Easy to Deploy –

    SEQUEL FYI

    User Quote:
    “I love SEQUEL FYI because it lets me look at the data any way I need to see it, instantly. This is the easiest tool to manage complex product relationships that I have ever seen.”

    SEQUEL FYI offers outstanding OLAP business intelligence functionality for a fraction of the cost of comparable solutions.

    Read More > View Streaming Video

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mgo_rc, Volume 2, Number 82 -- October 25, 2002

    Sponsored by
    Midrange Dynamics North America

    Want to deliver DevOps on IBM i?

    DevOps enables your IBM i development teams to shorten the software development lifecycle while delivering features, fixes, and frequent updates that are closely aligned with business objectives. Flexible configuration options within MDChange make it easy to adapt to new workflow strategies and policies as you adopt DevOps practices across your organization.

    Learn More.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Type2 IFS Directories Reader Feedback and Insights: Thanks for the Information

    Leave a Reply Cancel reply

MGO Volume: 2 Issue: 82

This Issue Sponsored By

    Table of Contents

    • Reader Feedback and Insights: SQL to the Rescue!
    • Another Way to Dump an IFS File
    • Johnny Can’t Read and RPG Can’t Do Math

    Content archive

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

    Recent Posts

    • You Can Now Get IBM Tech Support For VS Code For i
    • Price Cut On Power S1012 Mini Since Power S1112 Ain’t Coming Until 2026
    • IBM i: Pro and Con
    • As I See It: Disruption
    • IBM i PTF Guide, Volume 27, Number 30
    • The Turning Point For Power Systems Is Here, And Now
    • How IBM i Users Can Compete In The Digital Era With Composable Commerce
    • IBM Streamlines Data Migration With New Partition Mirror Tech
    • Profound Logic Adds MCP To IBM i AI Tool
    • IBM i PTF Guide, Volume 27, Number 29

    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