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
 
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: 4650
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: 4650
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: 10326
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: 757
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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