IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PARM or PARMS


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Fri Nov 18, 2011 12:34 am
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Nov 18, 2011 12:42 am
Reply with quote

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
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Sat Nov 19, 2011 1:33 am
Reply with quote

Try "PLANS" and let us know.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Passing parm from JCL to Assembler, b... PL/I & Assembler 2
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
Search our Forums:

Back to Top