View previous topic :: View next topic
|
Author |
Message |
maks
New User
Joined: 22 Jun 2007 Posts: 7 Location: bangalore
|
|
|
|
i'm using the below code for submitting the jcl :
"ISPEXEC LIBDEF ISPSLIB DATASET ID('"myid.REXX.EXEC1"')"
ADDRESS ISPEXEC
'FTOPEN TEMP'
'FTINCL PLIDUMMY'
'FTCLOSE'
'VGET ZTEMPF'
ADDRESS TSO "SUBMIT ("ZTEMPF")"
21 *-* ADDRESS TSO "SUBMIT ("ZTEMPF")"
>>> "SUBMIT (SYS07298.T163827.RA000.myid.R0118255)"
56268I INVALID DATA SET NAME SYS07298.T163827.RA000.J012874.R0118255, EXCEED
CHARACTERS
+++ RC(12) +++
here myid is my mf id.
Please help. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
According to the 2.16 FTOPEN--begin file tailoring Chapter in the z/OS V1R9.0 ISPF Services Guide:
Quote: |
ZTEMPF contains a fully qualified data set name.
|
My quick test worked with:
Code: |
"ISPEXEC VGET (ztempf) ASIS"
"SUBMIT '"ztempf"'"
|
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
strange.....
never remember about getting a sys... dataset
I just run a test with
Code: |
Trace "I"
address ispexec "FTOPEN TEMP"
address ispexec "FTINCL TSTSKEL"
address ispexec "FTCLOSE"
address ispexec "VGET ZTEMPF"
Address TSO "SUBMIT ("ZTEMPF")"
return 0 |
and here is the trace ...
Code: |
5 *-* address ispexec "FTOPEN TEMP"
>L> "FTOPEN TEMP"
6 *-* address ispexec "FTINCL TSTSKEL"
>L> "FTINCL TSTSKEL"
7 *-* address ispexec "FTCLOSE"
>L> "FTCLOSE"
8 *-* address ispexec "VGET ZTEMPF"
>L> "VGET ZTEMPF"
9 *-* Address TSO "SUBMIT ("ZTEMPF")"
>L> "SUBMIT ("
>V> "ENRICO.SPFTEMP1.CNTL"
>O> "SUBMIT (ENRICO.SPFTEMP1.CNTL"
>L> ")"
>O> "SUBMIT (ENRICO.SPFTEMP1.CNTL)"
JOB ENRICO@A(JOB00905) SUBMITTED
10 *-* return 0
>L> "0" |
As expected I got as ztempf a "userid.SPFTEMP*.CNTL" |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
little things to aware of...
Code: |
Address TSO "SUBMIT ("ZTEMPF")" |
is sensitive to the tso profile PREFIX settings
not to have any problem You should code
Code: |
Address TSO "SUBMIT ('"ZTEMPF"')" |
the name too long probably depends on the fact that as normal
for standards end users You have your prefix set to Your userid
and adding in front of a temporary dataset a userid will most probably exceed
the dataset name length of 44 chars |
|
Back to top |
|
|
|