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: 1932
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: 2445
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: 8617
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: 6970
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm
No new posts JOINKEYS Paired and Unpaired Sort on ... MFwhiz DFSORT/ICETOOL 7 Tue Nov 07, 2017 2:46 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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