Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can't pass parameters to program with CALL command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
The_Flash

New User


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

PostPosted: Mon May 09, 2005 7:01 pm    Post subject: Can't pass parameters to program with CALL command
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.

CALL (EXECIOVS) '2,FILEVSAM,RECORD,(STEM REC.'

//LKED EXEC PGM=IEWL,REGION=2048K,PARM='LIST,XREF'
Back to top
View user's profile Send private message

jon_s_rice

Active User


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

PostPosted: Tue May 10, 2005 3:40 am    Post subject: Re: Can't pass parameters to program with CALL command
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us