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

Using rexx in a skeleton


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Sep 13, 2007 4:01 pm
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
Reply with quote

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

Global Moderator


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

PostPosted: Thu Sep 13, 2007 4:25 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 13, 2007 5:08 pm
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: 771
Location: Germany

PostPosted: Thu Sep 13, 2007 5:18 pm
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
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: 2358
Location: Israel

PostPosted: Fri Sep 14, 2007 4:23 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top