View previous topic :: View next topic
|
Author |
Message |
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
Hi,
I want to pass a dataset name from a rexx exec to another rexx program, as i'm running a batch job the vput and vegete command in not working,so i thought of sending the dataset name to a jcl through the ispstart command but i dont know how to do it. please tell me how to pass the dataset name, also if any other solution to this requirement please suggest. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What do you mean by "VPUT & VGET not working"? Have you notified IBM regarding this bug?
By the way, ISPSTART is capable of transferring parameters, as described in the fine manual.
O. |
|
Back to top |
|
|
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
if i try to get some values through ispexec vget while running batch program, its throwing error saying the variable is not found |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Is there a previous program that VPUT the variable?
Just to make it clear: ISPF services work for both background and foreground environment.
O. |
|
Back to top |
|
|
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
ya i'm using vput in the previous program . but the vget in the next program showing the variable not found |
|
Back to top |
|
|
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
and also my requiremnt is i want to transfer the parameter to the ispstart command in the jcl not from the ispstart command to the rexx program. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I should imagine that you are using the shared pool rather than the profile pool to store your variable.
Once the first REXX program finishes, the shared pool is deleted, so obviously will not be available for the second REXX program. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
You probably have not explained your problem successfully, because I do not understand your problem.
Suggestion
1. provide the dataset name in ISPSTART command:
Code: |
ISPSTART CMD(%myrexx DSN('my.pds') ) |
2. and in the rexx program, use the parse instruction
Code: |
PARSE ARG . 'DSN(' pds_name ')' . |
|
|
Back to top |
|
|
|