Skip to content
/ PF2XLSX Public

Output the contents of a table/physical file (PF) to an OOXML spreadsheet (XLSX)

License

Notifications You must be signed in to change notification settings

p-behr/PF2XLSX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PF2XLSX

Reads the contents of a table and outputs it in OOXML (XLSX) format .

Prerequisites and Limitations

Please consider voting for this enhancement to the CPYTOARCF command
https://ibm-power-systems.ideas.ibm.com/ideas/IBMI-I-1816

Install

  1. Download the source

    • IFSIO_H is from Scott Klement (thanks Scott!).
      If you already have that on your system than you probably don't need this one.
  2. Compile the objects

    • Compile the RPG program
    • Optionally compile the command

Usage

  • Command:
    PF2XLSX FILE(SOMELIB/MYTABLE) XLSX('/the/path/where/you/want/spreadsheet.xlsx') 
    
  • Prototyped call:
    **free
    /copy PF2XLSX_H
    PF2XLSX('SOMELIB/MYTABLE' : '/the/path/where/you/want/spreadsheet.xlsx');
    return;
    

Params

  1. The table to read. Format can be:
    • "FILE"
    • "LIB/FILE"
    • "FILE______LIB" data structure
  2. The full path, including filename and extension, where you want the spreadsheet:
    "/the/path/where/you/want/spreadsheet.xlsx"

About

Output the contents of a table/physical file (PF) to an OOXML spreadsheet (XLSX)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published