fhg
Volume 11, Number 3 -- January 19, 2011

Cleaning Up RSE Detritus

Published: January 19, 2011

Hey, Ted:


Note: The code accompanying this article is available for download here.


Hey, Ted:

While doing some year-end house (disk) cleaning, I ran across the temporary source files that CRTSQLRPGI uses when run from RSE (WDSC or RDx), which are named EVFTEMPF01 and EVFTEMPF02. I knew about these files but never paid much attention to them. Today I discovered that there were 20 files (10 of each type) with total size of 45MB.

I wrote the attached clean-up program and a command interface. I scheduled the command to run every weekend.

I didn't clear the file at the end so I can look at the file during the week to see what it deleted. The result of my decision is that if no event files exist, the program tries to delete the files it deleted on the last run.

--Tim Phinney
M. G. Maher & Company
New Orleans


I appreciate Tim's sharing his application with the rest of us. Tim calls his command CLNUPEVF, and the command-processing program is CLNUPEVFCL.

Tim's program loads the names of the event files into QGPL/EVFTEMPFXX. Before you can compile the CL program, you'll have to create that file by hand from a CL command line. If you don't want to put it in QGPL, use another library of your choice.

DSPOBJD    OBJ(*ALL/EVFTEMPF01) OBJTYPE(*FILE) +
             OUTPUT(*OUTFILE) OUTFILE(QGPL/EVFTEMPFXX)

It's amazing how much disk space little junk like this can eat up.




                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
WORKSRIGHT SOFTWARE

Do you need area code information?
Do you need ZIP Code information?
Do you need ZIP+4 information?
Do you need city name information?
Do you need county information?
Do you need a nearest dealer locator system?

We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

Just call us and we'll arrange for 30 days FREE use of either
ZIP/CITY or PER/ZIP4.

WorksRight Software, Inc.
Phone: 601-856-8337
Fax: 601-856-9432
E-mail: software@worksright.com
Web site: www.worksright.com


Senior Technical Editor: Ted Holt
Technical Editor: Joe Hertvik
Contributing Technical Editors: Edwin Earley, Brian Kelly, Michael Sansoterra
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

Twin Data Corporation:  Twinax over Ethernet and TCP/IP with the XIP Twinax Controller
Townsend Security:  FREE Podcast! Key management best practices: What new PCI regulations say
System i Developer:  Upgrade your skills at RPG & DB2 Summit in Orlando, March 22-24


 

IT Jungle Store Top Book Picks

BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

The iSeries Express Web Implementer's Guide: List Price, $49.95
The iSeries Pocket Database Guide: List Price, $59
The iSeries Pocket SQL Guide: List Price, $59
The iSeries Pocket WebFacing Primer: List Price, $39
Migrating to WebSphere Express for iSeries: List Price, $49
Getting Started with WebSphere Express for iSeries: List Price, $49
The All-Everything Operating System: List Price, $35
The Best Joomla! Tutorial Ever!: List Price, $19.95


 
The Four Hundred
i5/OS and IBM i Support: How Long Does It Last?

Going Full Spiral, Not Coming Full Circle

Lotusphere Coming into View; Social Business Looms Big

Mad Dog 21/21: Something Wiki This Way Comes

IT Spending Curves Upward, Salaries Show Sign of Life

Four Hundred Stuff
IBM i Solution Edition Program Picks Up Steam

Symtrax Updates StarQuery for JDE, Asian Markets

BCD Updates Web Development Tools

ASNA's Newest RPG to .NET Option Now Available

Jaspersoft Pushes BI to the Web with Version 4

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

System i PTF Guide
September 25, 2010: Volume 12, Number 39

September 18, 2010: Volume 12, Number 38

September 11, 2010: Volume 12, Number 37

September 4, 2010: Volume 12, Number 36

August 28, 2010: Volume 12, Number 35

August 21, 2010: Volume 12, Number 34

TPM at The Register
Big Blue dons oven mits for ARM wafer bake

Cray hits Q4 revenue target

Apotheker to shake things up at HP

Watson beats humans in Jeopardy! dry run

Intel: Our server growth never stops

Penguin goes hybrid with ClusterWare

Perot Systems top dog exits Dell

Embotics delays Microsoft Hyper-V support

Without Meyer, what will AMD do next?

Supercomputer boffins warm to clouds

Rackspace accelerates clouds with Akamai

IBM's mainframe-blade hybrid to do Windows

THIS ISSUE SPONSORED BY:

SEQUEL Software
WorksRight Software
System i Developer


Printer Friendly Version


TABLE OF CONTENTS
A Reusable Routine for Doubly-Linked Lists, Part 1

Cleaning Up RSE Detritus

Solving PC5250 Printing Problems and Tweets About i/OS Error Messages

Four Hundred Guru

BACK ISSUES




 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2011 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement