View previous topic :: View next topic
|
Author |
Message |
tuvi_kp
New User
Joined: 09 Feb 2006 Posts: 4
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
|