March 4, 2009 | Vol 8 Issue 5

 

In This Issue:

Sponsor - T.L. Ashford & Associates
 
T.L. Ashford is “The Labeling Answer”® for the System i.
Ashford's Barcode400 has been the dependable choice for the industry since 1983. With Barcode400's newly enhanced Graphic Designer no “green screen” interaction is needed for label design. New features include: AFP/HP-compatible printing, easy-to-use graphics import tool, test print to desktop printer, simple font download tool, updated drivers and format listing reports. Even compliance labeling is made easy with design templates. Call 800-541-4893 to order your Fully-Functional, FREE Trial Software or visit us at  T.L. Ashford & Associates.

Read More >>

Feature Article - Programming
 
Calling a PC Application from RPG, Part III

Allow commands to be executed on the remote computer.

tom_snyder.jpgBy Tom Snyder

To execute commands on your PC from RPG, you must first set up a server to listen for these requests and grant permission to the IBM i to execute those commands. In order for RPG to be able to call a PC application using REXEC, you will need three capabilities:

 

•·         Identifying the IP address of a PC from within an RPG program

•·         Calling the PC application from within an RPG program

•·         Allowing commands to be executed on the computer

 

In previous articles, I explained how to identify your PC on the network using the QDCRDEVD API and how to send commands to your PC using the Run Remote Command (RUNRMTCMD) command. In this article, we will install and configure a server to support RUNRMTCMD.


Read More >>

Sponsor - Business Computer Design
 
 On Your Mark, Get Set, Modernize!  Reaching your IBM i Web Modernization goals is a lot Closer with BCD. Modernize RPG or Cobol apps Fast & Affordably. With Presto, apps become Web enabled and new functionality added. With WebSmart (ILE or PHP edition) new IBM i centric or multi-platform Web apps are quickly developed. Optionally add a Web Portal, Real-time Web Queries, Report Distribution…  Prove it all with your staff or BCD services.  Get Started, Click Here.
Read More >>

Feature Article - Programming
 
Practical RPG: Replace PSSR and INFSR with MONITOR

MONITOR takes RPG into the next level of error detection, and this article introduces one of the most useful aspects of this new opcode.

joe_pluta.jpgBy Joe Pluta

RPG has come a long way since the H1 halt indicator. Back in the day, you issued a halt when a program encountered a completely unexpected condition--usually application errors such as a master record not found or a divide by zero, although fatal errors could also include programs not found or files full. The current height of technology is to use the Program Error Subroutine (PSSR) to handle unexpected errors, but this article will show you an even cleaner and easier way to handle errors: the MONITOR opcode.


Read More >>

Support MC Press - Visit Our Sponsors

 

 Popular Forums

POPULAR FORUMS
  1. Parsing XML using XSL in RPGLE (494 views)
  2. Upload TXT to Source PF (441 views)
  3. Comment on: TechTip: Automate Data Transfers Using FTP (349 views)
  4. VARLEN in DDS vs. VARCHAR in DDL (346 views)
  5. "When you're wrong, admit it quickly and emphatically" (337 views)
  6. Thanks! (220 views)
  7. Great news for users of System i XLPARSE (179 views)
  8. Problem with AIR09_03 and V6R1 issue (165 views)
  9. Is any tool available for validating XML with DTD/XSL in RPGLE (154 views)
  10. RPG Programmer Analyst (Midrange) Position In Northern New Jersey (134 views)

Forums

   Search Sponsor

 

 Popular Searches

POPULAR SEARCHES
1. sql2xls
2. Tom Snyder
3. PHP
4. PDF
5. subfile
6. XML
7. java
8. gregory
9. ftp
10. sql2xml

Search


Read More >>
   MC-STORE.COM