Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Using rexx in a skeleton

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Ashwati

New User


Joined: 13 Sep 2007
Posts: 5
Location: Bangalore

PostPosted: Thu Sep 13, 2007 3:36 pm    Post subject: Using rexx in a skeleton
Reply with quote

I need to invoke a skeleton written in from a panel but i am not sure how to do it.

Should the skel also start with the word "rexx" etc? Any special characters or anythng that should be used to write Rexx in a skeleton? Please guide. Where can I find details for writing a skeleton using Rexx?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Sep 13, 2007 4:01 pm    Post subject: Reply to: Using rexx in a skeleton
Reply with quote

I have no idea what you're asking for. Could you please define what you mean by your term "skeleton", unless you are possibly referring to an

ISPF File-tailoring skeleton?
Back to top
View user's profile Send private message
Ashwati

New User


Joined: 13 Sep 2007
Posts: 5
Location: Bangalore

PostPosted: Thu Sep 13, 2007 4:09 pm    Post subject:
Reply with quote

Yes, i am referring to the same..
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Sep 13, 2007 4:25 pm    Post subject: Reply to: Using rexx in a skeleton
Reply with quote

3.4 Using the File-Tailoring Services from the z/OS V1R7.0 ISPF Dialog Developer's Guide.
Back to top
View user's profile Send private message
Ashwati

New User


Joined: 13 Sep 2007
Posts: 5
Location: Bangalore

PostPosted: Thu Sep 13, 2007 4:46 pm    Post subject:
Reply with quote

Hi Kevin,
my question is if "skeleton member" which we mention in FTINCL needs to be written in rexx, how do we do it? Can you please guide me how to do that thru an example?
I have previously coded a Skeleton member which was a JCL.....but this time i need to code it in rexx.....plz help
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Thu Sep 13, 2007 5:08 pm    Post subject: Reply to: Using rexx in a skeleton
Reply with quote

A skeleton has no relation whatsoever to the meaning of it' s lines...

it is simply something to which the ispf skel processing applies some substitution rules...

I.E. :
substituting the value of ispf variables, imbedding some other skeleton,
and so on...

as long as You follow the syntax of the skeleton framework
that means correct ")skel_command" constructs You can put in it anything You like.

regards

e.s
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 743
Location: Germany

PostPosted: Thu Sep 13, 2007 5:18 pm    Post subject:
Reply with quote

Hi Ashwati !

To make it clear. You could not code a Skel in Rexx. As the name tells, it's a JCL, so you only can code JobControl-Statements.

The JCL-variables are substitudet by FileTayloringServices, as SuperK wrote in previous post.

Example for Skel-Jcl

//&ZUSER.B JOB (SP00,PROD,0000),ULBA,MSGLEVEL=(1,1),MSGCLASS=X,
// CLASS=E,NOTIFY=&ZUSER,USER=&ZUSER,REGION=0M
//*
//SYSIN DD *
PRINT
SDATE(&YDAT.)
STIME(&YANF.)
PDATE(&YDAT.)
PTIME(&YEND.)
MASK(DD.MM.YYYY)
JOBNAME(SFOD%&YINR.)
DDNAME1(&UNAM.)
STEPN(P010)

The &variables are substitudet by ISPF-Sercives:

ADDRESS ISPEXEC "VGET (UNAM,YDAT,YANF,YEND) PROFILE"

TEMPDSN = "IER1337.USER.JCL.S000"
TEMPJOB = "SELKTOID"

ADDRESS TSO "ALLOC F(ISPFILE) DSN('"TEMPDSN"') SHR REUS"
ADDRESS ISPEXEC "FTOPEN "

ADDRESS ISPEXEC "FTINCL UMDBKTID"

ADDRESS ISPEXEC "FTCLOSE NAME("TEMPJOB")"
ADDRESS ISPEXEC "EDIT DATASET ('"TEMPDSN"("TEMPJOB")'"

ADDRESS TSO "FREE F(ISPFILE) "

ADDRESS ISPEXEC "REMPOP"

Regards, UmeySan
Back to top
View user's profile Send private message
Ashwati

New User


Joined: 13 Sep 2007
Posts: 5
Location: Bangalore

PostPosted: Thu Sep 13, 2007 8:05 pm    Post subject:
Reply with quote

Thanks a lot, UmeySan!! It has worked now!!
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Sep 14, 2007 4:23 am    Post subject:
Reply with quote

UmeySan -

You said:
Quote:
As the name tells, it's a JCL, so you only can code JobControl-Statements.
.

This is very misleading and not true. An ISPF Skeleton may include any kind of data.

O.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us