Any program can easily find out the mode it is running in by calling an IBM supplied *API – which will return the status of the job we are running. Basically, we just have to teach our program to shout “Hey Dude – am I running in batch or what?” and then the dark lord

Read More

another snippet from an old document I found in a dim dark and hazy corner of an even older HDD… rather than let it disintegrate, here it is migrating to the web just in the (extreme) off chance that it may be useful to someone out there. Hey.. if YOU are reading this then its

Read More

So, lets start on the right foot. I cannot spell. Even though I spend my life reading books, reading technical documentation, writing programs, typing web content and am surrounded by the written (and digital) word for 20 hours a day I will admit to being a terrible speller.

It’s the common words that get me, and of course, my own particular brand of over; punctuating every-thing!!!!  😉

Anyway, I digress.

I dont have a problem with the myriad of miss-spelt words on line, or the new text-speak that is becoming so common in blogs and online articles by those of us who are still the sunny side of 30. alrite m8? The trouble is using search engines to find information when it is clearly written in a different language. No, not French or German, not even British or American English, but quite simply English and badly-spelt-English.

...
Read More

The process for developing software is really simple, it just needs to be burned into your brain. If you are just starting a career in programming you will hear the acronym “SDLC” thrown around. So here is a quick little primer. The SDLC is also known as Classic Life Cycle Model (or) Linear Sequential Model

Read More

How can u send Parameters through LDA to another program and how do you receive?

CHGDTAARA-CL

RCVDTARA-CL

   IN and OUT in RPG

 

  1. In P.F you are having no records and you write SFL Program.  Then how can you know that there are no records in P.F? Which make you to show there are no records?

If the first Read returns End of file then there is no records in the PF

 

  1. How can u send data’s of P.F to data Queue and how to receive the data Queue and how to copy it to your file?

Read PF

QSNDTAQ

 

  1. Can we journel logical file and access path?

No

  1. Can we use commitment control for non-join L.F?

No

 

...
Read More

another snippet from an old document I found in a dim dark and hazy corner of an even older HDD… rather than let it disintegrate, here it is migrating to the web just in the (extreme) off chance that it may be useful to someone out there. Hey.. if YOU are reading this then its

Read More

PSDS – Program Status Data Structure A program status data structure (PSDS) can be defined in an RPG program and it makes program exception/error information available to the RPG program. The PSDS must be defined in the main source section; therefore, there is only one PSDS per module. A data structure is defined as a

Read More

Found some more old documents (I didnt write them so dont shoot the poor AS400 programming messenger) that I’ve decided to move to the forum rather than leave in the dusty corners of my hard drive…..

 

1. Advantages of  ILE:

 

RPG IV is more readable

Allows for greater application modularity with static binding which means there are fewer external calls.

Enhances programmer productivity by allowing greater code re use

Enhances mixed language support by allowing the binding ILE languages  into a single program

Builds a foundation for  the future by moving closer to object oriented design , modular programming and code reuse

 

Enhancements in RPGIV

 

Mixed Case entry permitted

Compiler is not case sensitive 

Compiler can translate mixed case to upper case.

Character names allowed

Full DDS length supported

...
Read More