TechTips


TechTip: An Easier Way to Search Through Massive Job Logs PDF Print E-mail
Tips & Techniques - System Administration
Written by Guy Marmorat   
Friday, 23 September 2016 00:00

Cilasoft offers its new Job Log Explorer tool to the IBM i community at no cost.

guy marmoratWritten by Guy Marmorat

Anyone who has searched through mountains of pages in job logs to find specific program messages during the process of troubleshooting knows all too well how time-consuming and tedious this task can be. In fact, as my team and I have worked with customers and partners over the years, we’ve commonly heard complaints about this very thing. But what’s surprising is there hasn’t been a useful tool available (at least that we could find) to help quickly isolate critical job information in these ungainly job logs. It’s basically a process of repeatedly pressing the F16 (Shift+F4) search key while trying various search terms.

Add a comment
Last Updated on Friday, 23 September 2016 00:00
Read more...
 
User Rating: / 1
PoorBest 
Partner TechTip: End the Scourge of Ugly Forms! PDF Print E-mail
Tips & Techniques - Document Management
Written by Mike Schuett   
Friday, 16 September 2016 00:00

Modernizing your forms can have a positive impact on your company’s image.

mike schuettWritten by Mike Schuett

Are you one of the many programmers who cringes at the thought of creating or modifying forms on the IBM i? For programmers, working with forms ranks right up there with being mauled by a grizzly bear. Yet there is a value in generating great-looking forms. Your statements, invoices, and checks project an image of your company, and many forms produced today are, at best, difficult to read and, at worst, ugly. Great-looking forms are neither difficult nor expensive to implement. In fact, you can improve your company’s image, make producing forms more efficient, and save money while doing it!

Add a comment
Last Updated on Friday, 16 September 2016 08:19
Read more...
 
TechTip: Edit Files in the IFS PDF Print E-mail
Tips & Techniques - Programming
Written by Aaron Bartell   
Friday, 09 September 2016 00:00

Editing files in the IFS has been a hot topic since COMMON Spring 2016. I wanted to share how I currently do it.

aaron bartellWritten by Aaron Bartell

With PASE becoming more and more popular via open-source languages, it makes sense that there are more and more ways to edit code in the IFS. For example, you could use the dinosaur EDTF 5250 command, which is fairly rudimentary but can do the job in a pinch (hey, I still use it sometimes). A next step up is the Joe editor, which can be used from an SSH session and actually works decentlyyet another editor I use in a pinch. I've also used RPGNextGen.com's editor for IFS files, and that has worked, though it lacked syntax coloring. And of course I'd be remiss if I didn't mention RDi and its ability to easily navigate and edit IFS files. But as we all know, RDi comes at a premium and still doesn't run on Mac (which is what I use).

Add a comment
Last Updated on Friday, 09 September 2016 00:00
Read more...
 
User Rating: / 1
PoorBest 
TechTip: Debugging Remote PHP Scripts PDF Print E-mail
Tips & Techniques - Scripting
Written by David Shirey   
Friday, 02 September 2016 00:00

So far, we’ve looked at how to debug only local scripts. But what happens when your program moves to production? Is there even the slightest possibility that you will have to debug it someday?

david shireyWritten by David Shirey  

If you someday have to debug a script that’s in production, you’ll discover pretty quickly that the debug techniques we’ve looked at so far do not work. They’re for local scripts only, and once you put them beyond the bounds of your PC, you need to use something else, something called “remote debugging,” if you want to play with them.

Add a comment
Last Updated on Friday, 02 September 2016 00:00
Read more...
 
RPG Fundamentals Tip #1: Working with Cycle Main Programs PDF Print E-mail
Tips & Techniques - RPG
Written by James Buck   
Friday, 02 September 2016 00:00

In cycle main programs, the compiler automatically includes the RPG cycle to provide program initialization and termination as well as ordered processing steps for file input and output (I/O).

 

jim buckWritten by Bryan Meyers and Jim Buck

 

Editor’s note: This article is excerpted from Programming in ILE RPG, Fifth Edition, chapter 14, “Building Modular Programs with Procedures.”

 

 

 

Up to now, all the RPG programs we’ve discussed [in this chapter] have been cycle main programs. A cycle main program has a main procedure implicitly specified in the main section of the program. In a cycle main program, the main procedure does not have a name; it is the main procedure by virtue of its location in the program code. A cycle main program includes a main source section (the main procedure), followed by zero or more subprocedure sections.

Add a comment

Last Updated on Wednesday, 07 September 2016 09:46
Read more...
 
TechTip: DB2 11 for z/OS Performance and Tuning Tips PDF Print E-mail
Tips & Techniques - Database
Written by Susan Lawson   
Friday, 26 August 2016 00:00

Raise or lower the priority of a workload as needed to meet user-specified goals.

susan lawsonWritten by Susan Lawson

This article is an excerpt from chapter 6, “Performance and Tuning,” of DB2 11 for z/OS Database Administration: Certification Study Guide (Exam 312).

 

Using z/OS Workload Manager (WLM), you can set z/OS performance options for DB2. With WLM, you define performance goals and assign a business importance to each goal. The goals for work are defined in business terms, and the system decides how much resource, such as CPU and storage, to give to the work to meet its goal.

 

WLM controls the dispatching priority based on the user-supplied goals. It raises or lowers the priority as needed to meet the specified goal. Thus, you need not fine-tune the exact priorities of every piece of work in the system and can focus instead on business objectives.

Add a comment

Last Updated on Wednesday, 24 August 2016 16:44
Read more...
 
TechTip: C# for RPGers: Not All Strings Are Born Equal PDF Print E-mail
Tips & Techniques - Programming
Written by Rafael Victoria-Pereira   
Friday, 26 August 2016 00:00

This time around, I’ll explain a very important object-oriented (OO) concept and some neat things you can do with a string in C# using a new type of object: StringBuilder.

rafael victoria preiraWritten by Rafael Victória-Pereira

If you haven’t read the last couple of TechTips, here’s what I’ve talked about: I introduced strings as a slightly different data type (a complex one, when compared to the simple data type presented before) and showed how to extract characters from it using a method called “substring.” Substring is very similar to an RPG BIF, but it’s a part of the string object, not a standalone function. Strings are objects and have “internal BIFs,” called “methods.” Some are similar to the RPG BIFs you know; others are something totally different.

Add a comment
Last Updated on Tuesday, 16 August 2016 16:11
Read more...
 
TechTip: DB2 Adapter for Shells PDF Print E-mail
Tips & Techniques - Scripting
Written by Aaron Bartell   
Friday, 12 August 2016 00:00

aaron bartellIf you're anything like me, you want to participate in the open-source community but don't want to screw things up. I invite you to participate in a safer side of open source.

Written by Aaron Bartell

In the past couple of articles (1 and 2), I've focused on higher-level community musings. I did this to encourage engagement and convey where engagement is already taking place. In short, open source on IBM i is growing significantly faster than it has in the past.

 

Now it's time to dive back into some geekier topics.

Add a comment
Last Updated on Friday, 12 August 2016 00:00
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 198

WEBCAST

MC Webcast CenterFEATURED WEBCAST

See What i Can Do With Modern RPG Development

Your applications deserve more than just a new look! Change the perception of the IBM i as “old” with modern development tips from IBM and Profound Logic Software.
Watch as Barbara Morris, Brian May and Alex Roytman dive beneath the GUI surface to show the benefits of:

 

  • Working with free-format RPG in IBM i TR7
  • Breaking free from “The Cycle” of traditional RPG development
  • Going beyond the 10 character limit in display and database files
  • And more!

You'll also see a live demonstration of these techniques as the presenters create a modern web application before your eyes! 

 

Watch the Webinar Now!

 

TRIAL SOFTWARE

MS Office Connector for Query/400

NGS' Qport Office enables Windows users to run IBM Query/400 queries to: 

 - Create and update Excel spreadsheets and Access databases

 - Create Word documents

 - Send to Windows screen and PC printers

No query conversion is required. Works with i5/OS V5R1 & above. Installs in minutes!

If you don’t have a budget to replace IBM Query/400, but want your users to have one click enhanced output of their queries.… Request the online license agreement and product download instructions today!

Offer good through December 31, 2013.

   MC-STORE.COM