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
 
Error on submitting job after file tailoring

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

New User


Joined: 22 Jun 2007
Posts: 7
Location: bangalore

PostPosted: Thu Oct 25, 2007 8:38 pm    Post subject: Error on submitting job after file tailoring
Reply with quote

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
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Thu Oct 25, 2007 9:12 pm    Post subject: Reply to: Error on submitting job after file tailoring
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10309
Location: italy

PostPosted: Thu Oct 25, 2007 9:16 pm    Post subject: Reply to: Error on submitting job after file tailoring
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10309
Location: italy

PostPosted: Thu Oct 25, 2007 9:35 pm    Post subject: Reply to: Error on submitting job after file tailoring
Reply with quote

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
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 FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 0 Mon Sep 18, 2017 4:31 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm

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