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

differece i keyword @d positional


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shilpadeshmukh

New User


Joined: 08 Jan 2006
Posts: 2
Location: pune

PostPosted: Sun Jan 15, 2006 11:58 am
Reply with quote

hi
i wat to kow the detail differece in keyword and positional parameters
give any hint to identify them
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Jan 15, 2006 2:00 pm
Reply with quote

Positional parameters depend on their position in the "string of parameters" you send to the receiver. You can't change their order, and if you want to omit a positional parameter, you have to supply a placeholder (usually - a comma).
Keywords are more convenient when you send a large amount of parameters, as they are more clear to the sender. You specify each parameter in the format of keyword=value.

Examples:
- Keywords: "DCB=(RECFM=FB,LRECL=100,BLKSIZE=27900)"
- Positional: "PARM=(&PROG,,&DATE)"

Again - it depends how the receiver expects to receive the parameters. Read your relevant documentation carefully - usually it specifies the parameter type.

O.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts syncsort: copy lines after the keyword SYNCSORT 7
No new posts Illegal use of keyword fetch. Token w... DB2 2
No new posts IFTHEN & BUILD - If keyword match... DFSORT/ICETOOL 4
No new posts COBOL 5.1 and the UNBOUNDED Keyword COBOL Programming 2
No new posts Getting DCA006E - Smart/RRSAF found u... COBOL Programming 6
Search our Forums:

Back to Top