View previous topic :: View next topic
|
Author |
Message |
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
The manual for DB2 Commands give the below syntax for the RUN command.
Code: |
RUN PROGRAM(?) PLAN(?) PARMS('?') |
Notice that "PARMS" is plural while the other two options are singular. However I have discovered that it can also be coded as:
Code: |
RUN PROGRAM(?) PLAN(?) PARM('?') |
which is the singular form. The manual doesn't say anything about this. Really there is only one parm being passed in so the singular form makes more sense.
Do all IBM commands work this way ie. singular or plural form? Do they need to hire a linguist to help with the grammar? Thoughts? Comments? |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Could be similar to the method in which you can specify COBOL Figurative Constants, such as SPACE/SPACES, ZERO/ZEROS/ZEROES, LOW-VALUE/LOW-VALUES, etc....
Mr. Bill |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Try "PLANS" and let us know. |
|
Back to top |
|
|
|