PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What's the difference between EXCHANGE(*NOW) and EXCHANGE(*ALWAYS)?

Go down

What's the difference between EXCHANGE(*NOW) and EXCHANGE(*ALWAYS)? Empty What's the difference between EXCHANGE(*NOW) and EXCHANGE(*ALWAYS)?

Post  maran Sun Oct 14, 2012 11:36 pm

*NOW, which is the default value, indicates that all nominated fields should be mapped into the exchange list now (ie: at this point in the program logic). This version of the EXCHANGE command is considered to be an executable command because it causes the fields to be placed into the exchange list at this point in the RDML program (and nowhere else).

*ALWAYS, the other allowable value, indicates that all nominated fields should be automatically mapped into the exchange list at several pre-defined points during the program's execution. These pre-defined points are:
• during any type of normal program termination
• before calling a process or function (CALL command)
• before invoking a PROMPT_KEY handling process or function
• before submitting a process or function (SUBMIT command
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum