Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by RedMage1967

  1. RedMage1967

    reclaim commands RCLSTG & RCLTMPSTG, why, when, if?

    I don't run the RclTmpStg, that process is taken care of when I automatically IPL the system every Sunday morning at 1:00 AM. PwrDwnSys Option(*Immed) Restart(*Yes) IplSrc(B) I do the RclStg monthly, after I complete the SAVSYS. I find that after I run the RclStg, that...
  2. RedMage1967

    Send a spool on as400

    What type of system are you sending the spool file to? Another as/400? Do you need to send the print control characters with it? RedMage1967 IBM Certifed - RPG IV Progammer
  3. RedMage1967

    Complex data structurs

    I feel so embarresed. The "D" specs are correct. I confused GRAPHS (the data structure name), and GRAPH (the subfield in GRAPHS defined as an array. I changed the names. The data structure is now called GRAPH, and the subfield array is now called USAGE. Thanks for the help. Should have...
  4. RedMage1967

    Complex data structurs

    Just upgraded to V5R2. The online help says that complex data structures are not allowed in V5R2. But, IBM doesn't show you how to define the data structure. Can someone please help me with the following "D" Specs? D Graphs Ds Qualified Dim(13) D TopValue...
  5. RedMage1967

    comma-delimited as400 file

    The only problem with the CPYTOIMPF command is that it leaves the blanks in the field, it doesn't trim them. I've written my own program to create CSV output. RedMage1967 IBM Certifed - RPG IV Progammer
  6. RedMage1967

    Convert Char to Numeric in Free form

    loonybin, try this. D ConvertDollar PR 8S 2 D InValue 11 Value . . . //========================================================= // SUBPROCEDURE: ConvertDollar //...
  7. RedMage1967

    OVRDBF using QCMDEXC in RPG

    It does. I have several apps that need to read two different file members, from the same file. I use the EXTMBR keyword, then define a variable for the member name. I change the variable name depending on the program logic that determines which member to read from. RedMage1967 IBM Certifed -...
  8. RedMage1967

    OVRDBF using QCMDEXC in RPG

    I've done about the same thing myself. It's much easier to use the EXTMBR, than to use QCMDEXC. RedMage1967 IBM Certifed - RPG IV Progammer
  9. RedMage1967

    How to write to many mebers in a RPG prg

    You can use the EXTFILE keyword, then the EXTMBR keyword. Check this out. FOutput1 O F 80 Disk ExtFile('KB0405P') F ExtMbr('KB0405ALL') FOutput2 O F 80 Disk ExtFile('KB0405P') F...
  10. RedMage1967

    OVRDBF using QCMDEXC in RPG

    Since it looks like you're coding in RPG IV, try using the EXTFILE and EXTMBR keywords on the "F" specs. Then just send the member name to the program as a parm. RedMage1967 IBM Certifed - RPG IV Progammer
  11. RedMage1967

    Printing a graph in VisualAge RPG

    I have an application that allows the user to graph the number of mail pieces processed, by month, over the course of the year. He now wants to be able to print that graph. I can't find anything in the documentation on how to do that. I've defined a graph part on the window itself, just how...
  12. RedMage1967

    Restore File

    When you restore a source file, you need to do the following: RstObj Obj(QRpgLeSrc) + SavLib(MySrcLib) + Dev(Tap01) + ObjType(*File) + SeqNbr(21) + EndOpt(*Unload) + FileMbr(QRpgLeSrc (MySrcMbr)) + MbrOpt(*All) Just a couple of notes. You need...
  13. RedMage1967

    create excel file from AS400

    Have you tried using the Client Access plug in that allows you to export a PF directly into an excel spreadsheet? RedMage1967 IBM Certifed - RPG IV Progammer
  14. RedMage1967

    ODBC config

    Got it figured out, I think. There's a job running under QUSRWRK, that looks like it's building some sql tables. The job abended due to the job log being full. I'll give this another try tonight (but first, disable the logging of messages). RedMage1967 IBM Certifed - RPG IV Progammer
  15. RedMage1967

    ODBC config

    Does anyone out there know how to set up ODBC in both Windows and iSeries? RedMage1967 IBM Certifed - RPG IV Progammer

Part and Inventory Search

Back
Top