Platform: *nixIP: 38.107.179.237
Visits: 1
Okay...We all like to get free stuff..Right?!? Well thats what we are offering here....Free Stuff
- Free storage for your source code.
Add Your code - Free access to code samples.
- Free place to ask questions or just say what you want.
Share your thoughts
We are interested in what you have to say. If you can’t find what your’e looking for on this site....
Tell us We will add it.
RUNSQLSTM
This program SQLRPGLE searches all tables in a library for a selected field. It writes these fields to a table and calls a program that writes SQL statements to a source member then runs command RUNSQLSTM to process.Download Cities and Zips
We have been collecting your city and zipcodes and are now ready to start posting the compiled lists. Let us know if your state is missing and we will post it. Files are in .CSV format so they can easily be maintained with EXCEL.Find source members
Pass a member name and a subfile will display *ALL copies of this source across the entire system.. (If authorized of course)Data Structures (PSDS/INFDS)
A file information data structure (INFDS) can be defined for each file to make file exception/error and file feedback information available to the program.Who Locked my Record?
Here is an example of a program that pops up a window showing the job, user and job number of the person locking the record it is trying to access.Read Outq - QUSLSPL
This program reads multiple outqueues from an Iseries table. Then performs some action on the spooled files. Uses IBM system API - QUSLSPL.Format Title Text
This is a simple subprocedure example. It requires two parameters, an input text string and an output text string. If passed "WELcoME TO Code400 WEBsite" it will return "Welcome To Code400 Website"Working with AFP print files
This example program is a very basic project tracking application. I think the most useful part of this example is the *AFPDS printer output created. It uses the AFP keywords for drawing boxes, vertical & horizontal lines, multiple font changes and rotating text. This is all done with out the use of any add-on products. If you download the Iseries save file I have included data so that you will be able to see the output first hand.PDF or HTML reports
We have put together a set of tools that will enable you to send Iseries reports to just about anyone you wish via email. We will show you how to convert those “ ugly ” greenbar reports into .PDF or .HTM then email them. A great use for this would be combining an attachment maybe XML with your reports in a nice html formatted email. Can you say ASN? Don’t let marketing know about this one.Fun With Dates
Add or subtract a duration in years, months, days, hours, minutes, seconds, or microseconds Determine the duration between two dates, times, or timestamps Extract a portion of a date, time, or timestamp (for example, the day) Test that a value is valid as a date, time, or timestamp. To add or subtract a duration, you can use the + or - operator in free-form syntax or the ADDDUR or SUBDUR operation code in traditional syntax.Working with User Spaces
One of the more powerful tools for iSeries programmers is the user space. Many IBM list APIs use a user space to hold the results of these API calls. A user space is similar to a data area, except that it can be much larger QUSCRTUS, QUSCHGUS, QUSPTRUSQLGSORT - sort data
The Sort (QLGSORT) API provides a generalized sort function that can be directly called by any application program. This API can be used to sort data in files or data in an input buffer with a single call. This API can also be used to initialize a sort function where a series of calls using the Sort Input/Output (QLGSRTIO) API is done to repeatedly add data to be sorted as a set of records and return sorted data as a set of records.Self Submitting Program
This program displays a screen, gets input then submits itself to batch to print a report.Monitor WRKACTJOB
This program example runs in a loop looking for jobs in message wait.(*MSGW) when one is found the program loops thru a list of userid's and sends a break message to every interactive device this user is logged on to. It then waits five(5) minutes before resending the error message if still in *MSGW.Message Subfile Example
Do You need a simple example of of a message subfile. Included in the download is the display file, the RPGLE program and a program to build the message file and add a few messages to test with.
Platform: *nixIP: 38.107.179.237
Visits: 1
Okay...We all like to get free stuff..Right?!? Well thats what we are offering here....Free Stuff
- Free storage for your source code.
Add Your code - Free access to code samples.
- Free place to ask questions or just say what you want.
Share your thoughts
We are interested in what you have to say. If you can’t find what your’e looking for on this site....
Tell us We will add it.
|

