RPG World - IBM Power i Developers Conference 2009

I'm very excited about the RPG World conference in a few weeks...

RPG World at Monte Carlo Resort & Casino (in Vegas) - May 6 to 9, 2009

I'm booked and absolutely cant wait to get there.... This conference, event, lesson, course (whatever your want to call it) already looks to be covering every aspect of the IBM Power i that I'm sketchy on, or want to learn more about. It's already got some of the 400 worlds best known names in attendance and looks to be a great technical and social event. Fantastico!

If you're going - please drop me an email or just look for the big pony tailed English Geezer that looks vaguely like Penn walking around with an inane grin on his face  ;) 

To Find out more - check out the Facebook Event

 

  • Focus on "RPG for the Web"
  • Invest in yourself - RPG World gives you value that you get no where else:
  • The best training from the best Instructors
  • Instructors who write code every day, just like you
  • Instructors who know real-world situations because they're in it with you
  • Optional Pre-Conference Workshop: "RPG for the Web Primer"
  • Networking opportunities with your Instructors.
  • Networking opportunities with your Colleagues
  • Information on the best practices (what works/what doesn't)
  • Contemporary programming skills you can use today, without the time-wasting stuff no one will be using for years
  • Information and training that you can take back and use today
  • Web Applications with RPG IV - 101
  • Creating an Excel Worksheet with RPG IV
  • Sending Email from RPG IV with multiple attachments
  • Data Entry using a Web Browser and RPG IV
  • Using RPG IV to post and retrieve messages to/from Twitter.com and other online services
  • Using RPG IV to connect send an HTTP request to another (e.g., Microsoft .Net/ASP SOA) server
  • XML Topics
  • SQL Topics
  • Traditional RPG, CL and Subfile Topics
  • How to Install and use RDi (the new name for WDSc)

Heres a more detailed breakdown of the seminar agenda


Comments

pushpesh_rpgile's picture

Please give me the code for conversion of numeric to character value in rpgile.

E.g.

If user enters the value as 123.45 and output comes as one hundred twenty three rupees and 45 paise.

Please if possible than send me the code ASAP. my mailID is pushpesh.joshi@gmail.com.

NickLitten's picture

Lots of different ways to skin a cat as they say, but I would probably do some thing like

  • convert the field to alphanumeric
  • extract out each numeric value from the decimal point backwards
  • look up each value from a table to find the tens, hundreds, thousands etc value
  • construct the variable containing 'one hundred twenty three'  etc..

No more than 20+ lines of code, easy to understand and pretty simple. just like me  ;)

use the %CHAR BIF to convert numeric into an Alpha Field, a simple table containing (or you could just use CONSTANTS or a file entries for proper softcoding - as I said lots of ways to skin a cat) the words PAISE, RUPEES, HUNDRED, THOUSAND, ONE, TWO, THREE, FOUR etc etc for conversion... and VOILA

For example:

CurrencyValue = 123.45

Eval AMOUNT = %char(CurrencyValue)

Extract out the element you are working with for example

$SST(AMOUNT:4:1) is the first numeric from the amount, in this case '3'

you now need to convert this '3' to 'THREE' which you can do by looking it up from the table....

 

:)

 

Projex dot com is the cyber home of Nick Litten an AS400 IBMi developer, RPG programmer, Web2.0 advocate, Drupal nut, early adopter and all round IT addict.

Nick Litten looking dazed while refactoring some RPG2 code to kick it into this century

Born and raised in England, now enjoying programming on the beach in Sunny Southern USA. Founder of SOFTWARE PROJEX.

Author Location

Javascript is required to view this map.