View previous topic :: View next topic
|
Author |
Message |
jemonthomas
New User
Joined: 24 Jul 2006 Posts: 35 Location: india
|
|
|
|
Hi,
Is it possible to vary the number of inputs to a skeleton job? For example if I am using a skeleton job for searching... One time I need to search 5 variables next time 2 and next it might be 3 and so on.... Does skeleton jobs have that flexibility? if so could you please share a sample code? |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Use IF statements in your skeleton to test for your variable having data or not. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
yes and no. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
It may make our lives a little bit easier if you explained clearly what it is that you need to do, and show us what you have done so far |
|
Back to top |
|
|
jemonthomas
New User
Joined: 24 Jul 2006 Posts: 35 Location: india
|
|
|
|
Hi,
I need to create a rexx tool in which it will ask the user to enter the search variables.I created a skeleton search jcl for rexx so that it will replace the variables entered by user.I would like to know can I make the job or rexx in such a way that it will work if the user enter 4 variables to search and another user need to search only 2 variable and another one need 5 variables to search and so on |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
since you are just populating a sysin dataset
inline or dataset,
it should be relatively easy to manipulate within your REXX TOOL
PERSONAL OPINION ON:
normally, rexx tools are written to provide/enhance the user with a 'utility' that does not exist.
from anywhere within ISPF, you can always START a new session,
jump to the 3.14 or 3.15 screen and use the batch mode.
why not invest your time creating something that will help/enhance your system?
does your boss know that you are simply wasting company resources? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Have you considered foregoing the skeleton and have your tool simply genereate the complete job? |
|
Back to top |
|
|
|