Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Result if parameter declared as * but argument is not

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
angshu

New User


Joined: 09 Nov 2010
Posts: 4
Location: Pune

PostPosted: Fri Dec 03, 2010 3:50 pm    Post subject: Result if parameter declared as * but argument is not
Reply with quote

Hi,

In Entry statement an array parameter is declared as (*) DEC FIXED in parameter descriptor but while passing argument '*' is not used.

Can anybody tell what would happen? Will compiler create any DUMMY argument? I don't have access to mainframe now, so I cannot test the situation.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2429
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 03, 2010 6:37 pm    Post subject:
Reply with quote

I guess the entry statement looks like this :

entry(*,fixed dec)

* An asterisk specifies that, for that parameter, any data type is allowed. The only attributes which are valid following the asterisk are:
v ALIGNED or UNALIGNED
v ASSIGNABLE or NONASSIGNABLE
v BYADDR or BYVALUE
v CONNECTED or NONCONNECTED
v INONLY, INOUT, or OUTONLY
v OPTIONAL
No conversions are done.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 1 Sun Mar 12, 2017 5:35 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us