View previous topic :: View next topic
|
Author |
Message |
Ashwati
New User
Joined: 13 Sep 2007 Posts: 5 Location: Bangalore
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Ashwati
New User
Joined: 13 Sep 2007 Posts: 5 Location: Bangalore
|
|
|
|
Yes, i am referring to the same.. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Ashwati
New User
Joined: 13 Sep 2007 Posts: 5 Location: Bangalore
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
Ashwati
New User
Joined: 13 Sep 2007 Posts: 5 Location: Bangalore
|
|
|
|
Thanks a lot, UmeySan!! It has worked now!! |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
|