Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Need to vary the number of input to skeleton job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Need to vary the number of input to skeleton job
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: 1868
Location: UK

PostPosted: Wed Jul 11, 2012 6:11 pm    Post subject:
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: 2441
Location: Netherlands, Amstelveen

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

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

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 11, 2012 7:48 pm    Post subject:
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    Post subject: Reply to: Need to vary the number of input to skeleton job
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: 6968
Location: porcelain throne

PostPosted: Thu Jul 12, 2012 8:12 am    Post subject:
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

Site Director


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

PostPosted: Thu Jul 12, 2012 8:20 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Getting Mutiple input from Panels vidyaa CLIST & REXX 12 Mon Aug 14, 2017 1:28 pm
No new posts Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Need input in Scheduling Benchwarmer CA Products 5 Tue Jun 06, 2017 1:44 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us