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

Can't pass parameters to program with CALL command

IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message

New User

Joined: 05 May 2005
Posts: 1
Location: NE USA

PostPosted: Mon May 09, 2005 7:01 pm
Reply with quote

My problem started when I tried to write some REXX tools. I had a CALL command for which I used an "ADDRESS TSO" to use. I found that the called (Assembler) program could not see the parameters I passed. I then tried to do the call statement from the command line in TSO. The same thing happened. I tried calling another Assembler program from the TSO/ISPF Command line with passed parameters and the 2nd program also returned an error 'MISSING PARAMETERS'. For some reason my programs are not receiving any parameters that I pass. I found these programs in the Web and linked them using JCL provided. I am wondering of the parameter problem might be the result of incorrect linking? My call example and link Exec I used to link are below. Any suggestions are welcome. Thanks.


Back to top
View user's profile Send private message

Active User

Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Tue May 10, 2005 3:40 am
Reply with quote

To call an assembler with standard parameters use the following:
address linkpgm "prgname var1 var2"
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 -> TSO/ISPF


Similar Topics
Topic Forum Replies
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
No new posts CNTL= Command Syntax Documentation CA Products 3
No new posts Issued a CMD call for /DIS & it r... IMS DB/DC 3
No new posts Same command as on commandline in REX... TSO/ISPF 6
No new posts Cobol program to determine the sequen... COBOL Programming 2
Search our Forums:

Back to Top