Enter/View Iseries Tips Techniques and Tricks.
Free iSeries Account! Innovative Systems and Code400.com are pleased to announce a combined effort (mostly Jonas) to grant those wanting to learn iSeries programming FREE access to an iSeries! (V5R3) . Access to CGIDEV2 -- Stuff... code samples already written just compile and play! (well...
Hi, Is there a way to Retrieve the COMPILEOPT & DBGVIEW attributes value of a existing object.
This is "kinda" cool its taken from an example by Scott Klement I modified to read a table we all have QSYS2/sysviews as it reads the table it creates an email, then at the end it emails out to the address supplied. here is the email
hi i want to create one tool to dislpay file field information in subfile...file name and library name is dynamic.it was given through some display file...i used the DSPFFD command and create one outfile in qtemp.here the problem starts.... how to send the file as parameter from cl to rpg?...
Hello friends , I used WRKDBF and see if i press F8 (show Hex/Char) it will show hexa value. My question is how to get hexa value in RPG and show it to DSPF ? Need tips & trick. For DSPF i'm using SFLFOLD.
Just found this thought it could be of some use (attachment) by JR Friedman It is possible to retrieve source from RPG programs if the program has been compiled with the correct parameters. The following procedure will retrieve the source from single-module RPGLE programs compiled with...
The next time you want to see where a field is used throughout your system, try this handy shortcut. Rather than search all your source members using option 25 (Find string) on Programming Development Manager's (PDM's) Work with Members display, use the FNDSTRPDM (Find String Using PDM) command....
Taken from another forum: Best of Luck GLS
===> must get Scott's BASE64 "stuff" and install first. then this will just compile... ;) http://www.scottklement.com/base64. * This program will take all documents within a passed in folder on * the IFS and zip them into a zip file then email them to the user ...
I might have know this and forgotten cause im old like dirt but Iwill post anyway From IBM /free // Example 1 // Compute n! factorial = 1;
Apologies if this is not the appropriate forum or this has already been covered. I've been digging for awhile and haven't really found what I was looking for. I'm trying to find a way to access iSeries source from windows. I'd like to at least be able to copy the source out as plain text, or...
this is from another site - just wanted to remember it.. FQSYSPRT O F 132 PRINTER OFLIND(*INOF) //--*STAND ALONE------------------------------------------- d ColumnShift s 10i 0 inz d cSflPag c const(7) d ff...
Hi, We have been using SNDDST for long time but suddenly we have realised that while emailing spools of size >= 7 MB, the email gets lost. The messages are same that mail has been sent but it did not reach the destination. Though spools of size 6 MB goes clean. Here I am trying to send mails as a...
Here is an old Scott Klement program, If you pass a module name and a library then it will print a report with all programs that "use" that module. >>> Library could be *LIBL. *NOTE fix the O specs ... the second detail line should not skip... H DFTACTGRP(*NO) OPTION(*SRCSTMT:...
With the V6R1 some very interesting view on the catalog appear : the SYS___STAT view. **************** * SYSINDEXSTAT * **************** You create indexes for SQL performance. But are they really used by the two SQL engines? An example on indexes not used for 200 days.
***WARNING: Yes there is Binary & Hardcoding in here.. it jumps in and out of free like a cat on fire... If this might be too much for you to handle I would recommend you leave now! THis program will check jobq's to see if the knucklehead next to you was...
My open source project i5/OS Porgrammer's Toolkit released its version 0.2.11 with a new sub-project, System-builtin Headers for ILE RPG. Sub-project System-builtin Headers for ILE RPG provides RPG programmers with not only pre-defined prototypes of all MI instructions which expose bound program...
Hi, I am looking for a way, to retrieve the WRKSTN Id / Interactive JOB name of other users, who are logged into the same(my) server. Basically, i need to retrieve it in the program level. Can anyone help me out? Thanks & Regards, Pandian
Makes it easy to use data queues in RPGLE. See the CMDTOOLS thread to see how to install this. Copy book: ***************************************************************** * * * Copy Book for procedures...
Ok, I received some positive feedback from the CMDTOOLS utility, so I thought I would paste my favorite utility for interactive RPG programs. This is the MSGTOOLS utility which makes handling messages in RPG easier. (You need to have CMDTOOLS working to use this one.) 1. First, create a...
I have been asked a couple of times about some utilities I wrote so I thought I would post them out here for anyone who wanted to use them. There are a couple of steps you need to set these up, but once you do, it will make some functions MUCH easier to use and read in your ILERPG. This one...
How do I change the attributes for a print file, I tried using chgpf and got msg it was wrong type of file. Anyone know the command I need to use.
I just saw this while researching something else...how come I never heard about this before? I am not so bright, you guys are supposed to tell me about these things. Found it on the EASY/400 site which linked to an article by Scott Klement: ...
kinda cool I did not know this: article written by Thomas Snyder on MC Press Online http://www.mcpressonline.com/programming/rpg/retrieving-the-directory-contents-of-an-ftp-server-from-within-rpg.html he has examples but i threw together a quick test script. I see some uses for this..
I'm at a place where there is 2 main environments; DEV and PROD, like most shops. PROD has a restriction where no one can use RSTOBJ, for obvious reasons, and we use TurnOver to move stuff into production. I create many, many commands and utilities on DEV and sometimes wish I had them on PROD...
http://www.easy400.net/ So did he call it WRKDBF cause ..... ??????!??? ;) This is to let the previous installers of CGI_WRKDBF know that phase 2 development of CGI_WRKDBF is now complete and a new version of the tool is available from the Easy400 site www.easy400.net (free registration...
There are currently 4 users browsing this forum. (0 members & 4 guests)
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules