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
 

 

how to pass values to easytrieve program from JCL or PROC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
tuvi_kp

New User


Joined: 09 Feb 2006
Posts: 4

PostPosted: Mon Sep 06, 2010 3:56 pm    Post subject: how to pass values to easytrieve program from JCL or PROC
Reply with quote

Hi,

I am new to easytrieve and need some information on passing values to an easytrieve program at runtime. I have written one program for generating summary report and the same should be used for multiple PROCs. But the summary report title should contain corresponding PROC name from which this program is invoked. Will be waiting for your valuable inputs.

Thanks.
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Sep 06, 2010 5:09 pm    Post subject:
Reply with quote

Please learn to search the Forums and see if these earlier threads help you:

http://www.ibmmainframes.com/viewtopic.php?t=36905&highlight=parm+easytrieve
http://www.ibmmainframes.com/viewtopic.php?t=40830&highlight=parm+easytrieve
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Mon Sep 06, 2010 7:13 pm    Post subject:
Reply with quote

Sample (for an explanation read the manual(s))


Code:

//PRINTPDS EXEC  PGM=EZTPA00,PARM='your parameter'
//SYSIN    DD  *
PARMDATA   W    46 A                                                    00360081
PARMLENG   PARMDATA       2 B                                           00370081
PARMFIELD  PARMDATA +02  44 A                                           00380081
*
JOB INPUT(NULL) START STARTPROC                                         00460042
STOP
*
STARTPROC. PROC                                                         00520042
   CALL EZTPX01 USING(PARM-REGISTER PARMDATA)                           00530042
   your parameter processing   
END-PROC                                           
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 10 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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