IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need to vary the number of input to skeleton job


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jemonthomas

New User


Joined: 24 Jul 2006
Posts: 35
Location: india

PostPosted: Wed Jul 11, 2012 6:08 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Jul 11, 2012 6:11 pm
Reply with quote

Use IF statements in your skeleton to test for your variable having data or not.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Wed Jul 11, 2012 6:12 pm
Reply with quote

yes and no.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jul 11, 2012 7:48 pm
Reply with quote

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
View user's profile Send private message
jemonthomas

New User


Joined: 24 Jul 2006
Posts: 35
Location: india

PostPosted: Thu Jul 12, 2012 7:37 am
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 12, 2012 8:12 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 12, 2012 8:20 am
Reply with quote

Hello,

Have you considered foregoing the skeleton and have your tool simply genereate the complete job?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top