Programming


RPG Academy: Parameters: Do You Know Your Options?, Part 2 PDF Print E-mail
Programming - RPG
Written by Rafael Victoria-Pereira   
Friday, 24 October 2014 00:00

The *NOPASS option is very useful, but it's not the perfect solution for every situation. This TechTip continues to discuss the different options available, explaining what *OMIT is and when and how to use it.

rafael victoria preiraWritten by Rafael Victória-Pereira

What if you need the 21st and 22nd parameters of a procedure's parameter list with 40 parameters to be optional? Should you change the procedure's parameters, making the 23rd to 40th parameters optional too? That means validating whether all those parameters were passed and assigning default values to each of them. Not the best of solutions, right? This is the most annoying shortcoming of *NOPASS.

Add a comment
Last Updated on Friday, 24 October 2014 00:00
Read more...
 
User Rating: / 2
PoorBest 
Zend Studio 11: A Pretty Big Deal PDF Print E-mail
Programming - Dev Tools
Written by David Shirey   
Wednesday, 15 October 2014 00:00

This small package packs a powerful punch, providing many facilities that all PHP programmers definitely should have at their disposal.

david shireyWritten by David Shirey

Last month, we talked about the Zend Server, the Garth Brooks of the Zend world, and how it can be used to provide an effective environment to run PHP programs from the i. Now we will move on and talk about Zend Studio, the Ariana Grande of the Zend world.

 

 Zend Studio is an Integrated Development Environment (IDE) similar to RDi.

Add a comment
Last Updated on Wednesday, 15 October 2014 10:23
Read more...
 
User Rating: / 1
PoorBest 
Book Review: Advanced Guide to PHP on IBM i PDF Print E-mail
Programming - Web Languages
Written by Alan Seiden   
Wednesday, 15 October 2014 00:00

Enterprise-level PHP skills and techniques have been adapted for IBM i developers in Kevin Schroeder's new book.

alan seidenWritten by Alan Seiden

In the eight years since PHP became available to IBM i, applications running PHP on the i have become more sophisticated and mission-critical. Wise developers will want to employ modern development techniques to ensure that their applications are easy to maintain and test. A new book by Kevin Schroeder, Advanced Guide to PHP on IBM i, offers IBM i developers professional development techniques to keep pace with the needs of today's growing applications.

Add a comment
Last Updated on Wednesday, 15 October 2014 10:19
Read more...
 
Implement a Service-Oriented Architecture with REST APIs PDF Print E-mail
Programming - APIs
Written by Michael Sansoterra   
Monday, 13 October 2014 00:00

Publish or consume application data and logic from anywhere, to anywhere, on any platform using REST service APIs.

Written by Michael Sansoterra

For quite a while, we've all heard the buzz surrounding a "service-oriented architecture" (SOA). The promise of SOA is to allow applications to communicate with one another in real time, whether on a private network or across the world, using the platform-independent, standard HTTP protocol. If you're writing ILE subprocedures and SQL routines available for access by other applications (even on other OS platforms), then pay attention because building a service-oriented architecture is the next logical step in your code evolution. This article will provide an introduction to the concepts surrounding SOA development and its implementation using REpresentational State Transfer (REST) services.

Add a comment

Last Updated on Friday, 10 October 2014 13:10
Read more...
 
User Rating: / 2
PoorBest 
Book Review: Java for RPG Programmers PDF Print E-mail
Programming - Java
Written by Joe Pluta   
Friday, 10 October 2014 00:00

If you've been putting off learning Java, you have no excuse anymore!

joe plutaWritten by Joe Pluta

Java for RPG Programmers has been popular for over a decade. This unique book manages to bridge the gap between the procedural nature of RPG and the sometimes mysterious world of Java and object-oriented programming (OOP). This Third Edition is a worthy entry in the book's history.

 

The problem for RPG programmers is that most Java books don't differentiate between application programming and system programming. Java has a dual nature: Java experts use the advanced features of the language to build system-level routines, and application programmers use those routines to build applications. Most RPG programmers need the latter explained in familiar terms.

Add a comment

Last Updated on Friday, 10 October 2014 11:08
Read more...
 
User Rating: / 2
PoorBest 
RPG Academy: Parameters: Do You Know Your Options?, Part 1 PDF Print E-mail
Programming - RPG
Written by Rafael Victoria-Pereira   
Friday, 03 October 2014 00:00

We discussed the VALUE and CONST keywords in previous TechTips. However, that's not all you need to know about parameters. Keep reading to find out more!

rafael victoria preiraWritten by Rafael Victória-Pereira

The title of this TechTip has a double meaning: in order to make the best use of a procedure's parameters, you should be familiar with all the keywords at your disposal. This includes not only the aforementioned VALUE and CONST keywords, but also the OPTIONS keyword.

 

While the VALUE and CONST keywords are rigid, in the sense that you cannot "tweak" them. They are what they are, and you choose to use them or not. The OPTIONS keyword is a whole different story: this keyword is more of a placeholder for one or more…well, options that you can specify. The available choices are *NOPASS, *OMIT, *VARSIZE, *STRING, and *RIGHTADJ.

Add a comment
Last Updated on Friday, 03 October 2014 09:03
Read more...
 
User Rating: / 4
PoorBest 
Programs Tell the Truth: Retrieve the System Pointer to the PCS Object Associated with an MI Process PDF Print E-mail
Programming - RPG
Written by Junlei Li   
Wednesday, 01 October 2014 00:00

Learn the technique that enables the operating system programs to achieve this task.

junlei liWritten by Junlei Li

In IBM i and its ancestors, an active job at the operating system level has an associated MI process, which is identified by a Process Control Space (PCS) MI object. The system pointer to a PCS object (with MI type/subtype code hex 1AEF) is used as the operand that identifies an MI process in process management MI instructionsfor example, the Materialize Process Attributes (MATPRATR) instruction. Several other process-related MI instructions also expect a PCS pointer as an operand (or part of an operand) that identifies an MI processfor example, the Materialize Process Locks (MATPRLK) instruction, and the Transfer Object Lock (XFRLOCK) instruction. Thus, to use these MI instructions we need to first obtain a system pointer to the PCS object associated with an MI process.

Add a comment
Last Updated on Wednesday, 01 October 2014 00:00
Register to read more...
 
User Rating: / 1
PoorBest 
The Top 10 Job Scheduling Challenges and How to Solve Them PDF Print E-mail
Programming - General
Written by Martin Norman   
Monday, 22 September 2014 00:00

It's likely additional resources won't become available to oversee Power Systems operations, so "work smarter, not harder" may be the catchword of the day—in short, automation.

martin_normanWritten by Martin Norman

Editor's note: This article introduces the white paper "The Top Ten Job Scheduling Challenges and How to Solve Them" available free at the MC White Paper Center.

 

The last 10 years have been tough for organizations the world around. When it comes to a recession, everyone is forced to do more with less. But at the same time, companies still need to move forward at a frenetic pace—just to maintain a competitive advantage through the recession and beyond. It is this enhanced speed at which the business must operate that creates a new level of resource challenges to address, often with no time to waste. It's no wonder that "work smarter, not harder" has become the hallmark of modern business.

Add a comment
Last Updated on Thursday, 18 September 2014 11:34
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 211

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