Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Only part of the JCL present in the member

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

New User


Joined: 15 Sep 2008
Posts: 36
Location: Bangalore

PostPosted: Mon Jan 04, 2010 6:16 pm    Post subject: Only part of the JCL present in the member
Reply with quote

Hi,

With the below code i am trying to submit a JCl, but sometimes it happens like only part of the JCL present in the member 'T1' is being submitted resulting in JCL error.

Could anyone please let me know what might be the mistake,

Code:

     "EXECIO * DISKR SUBMI (FINIS STEM SUBMI."           
      J=0                                       
      DO I=1 TO SUBMI.0                         
         J=J+1                                 
         FINAL.J=SUBMI.I                       
         PUSH FINAL.J                           
      "EXECIO 1 DISKW FINAL "                   
      END                                       
      "EXECIO 0 DISKW FINAL (FINIS"             
      "FREE F(FINAL)"                           

 "ISPEXEC FTOPEN TEMP"           
  "ISPEXEC FTINCL T1"             
  "ISPEXEC FTCLOSE"               
  "ISPEXEC VGET (ZTEMPF) SHARED" 
  "SUBMIT '"ZTEMPF"'"           

Thanks

edited to add the code tags ( to make the <thing> readable )
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 04, 2010 6:30 pm    Post subject:
Reply with quote

Maybe file tailoring goes into an error because of invalid characters in your jcl like like < and &.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 04, 2010 6:51 pm    Post subject:
Reply with quote

And as it isn't psychic day today, please post the JCL skeleton being used.

Also google for ISPFTTRC to see exactly what happens during file tailoring.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 04, 2010 7:09 pm    Post subject:
Reply with quote

Im wondering.
Your submit statement shouldnt that be :

ADDRESS TSO "SUBMIT '"ZTEMPF"'"
Back to top
View user's profile Send private message
Vinay N.G

New User


Joined: 15 Sep 2008
Posts: 36
Location: Bangalore

PostPosted: Mon Jan 04, 2010 7:12 pm    Post subject:
Reply with quote

Hi Peter,

I dint get You.. Can you be more clear
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 04, 2010 7:18 pm    Post subject:
Reply with quote

Well SUBMIT is a TSO command, so what i remember you have to say to REXX as much by using ADDRESS TSO. The same for executing ISPEXEC commands.
I couldnt see that in your code snippet, only did see some REXX coding.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 04, 2010 7:30 pm    Post subject:
Reply with quote

I believe that the SUBMIT command is OK, and that the problem may be in the FT process, hence my hint to use the FT trace facility.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 04, 2010 7:45 pm    Post subject:
Reply with quote

Sure expat, that was a nice one. Cant remember if i ever used it.
But i just wanted to tackle anything that could lead to erroneous behaviour.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 04, 2010 7:59 pm    Post subject:
Reply with quote

I'm not sure that we can really eradicate C2K interface errors very easily icon_lol.gif
Back to top
View user's profile Send private message
Vinay N.G

New User


Joined: 15 Sep 2008
Posts: 36
Location: Bangalore

PostPosted: Mon Jan 04, 2010 8:02 pm    Post subject: Reply to: Only part of the JCL present in the member
Reply with quote

I keep trying this...

Just now i executed the above program and all the steps were correctly submitted.

But to be sure i tried to execute the same program without any modifications, But this time only part of JCl got submitted.

It is not happening always. It happens sometimes.

Please let me know what can be done.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Jan 04, 2010 8:02 pm    Post subject: Reply to: Only part of the JCL present in the member
Reply with quote

Quote:
C2K interface


nice one... much better than PEBCAK icon_biggrin.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 04, 2010 8:07 pm    Post subject:
Reply with quote

expat wrote:
Also google for ISPFTTRC to see exactly what happens during file tailoring.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 04, 2010 8:16 pm    Post subject:
Reply with quote

C2K ? Gentlemen im lost.
Did you mean this :

The C2K is a reusable, electronic security seal that generates a unique seal number with every use.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Jan 04, 2010 8:20 pm    Post subject: Reply to: Only part of the JCL present in the member
Reply with quote

C2K ==> chair to(2) keyboard

PEBCAK ==> Problem Exists Between Chair And Keyboard
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 04, 2010 8:35 pm    Post subject:
Reply with quote

Enrico, thanks a lot.
Im in your debt for enriching my vocabulary. icon_biggrin.gif
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1219
Location: Israel

PostPosted: Mon Jan 04, 2010 10:21 pm    Post subject: Reply to: Only part of the JCL present in the member
Reply with quote

part 1 just duplicates (in a strange way) a dataset or member:
Code:
     "EXECIO * DISKR SUBMI (FINIS STEM SUBMI."           
      J=0                                       
      DO I=1 TO SUBMI.0                         
         J=J+1                                 
         FINAL.J=SUBMI.I                       
         PUSH FINAL.J                           
      "EXECIO 1 DISKW FINAL "                   
      END                                       
      "EXECIO 0 DISKW FINAL (FINIS"             
      "FREE F(FINAL)"

part 2 does file tailoring and submit:
Code:
"ISPEXEC FTOPEN TEMP"           
  "ISPEXEC FTINCL T1"             
  "ISPEXEC FTCLOSE"               
  "ISPEXEC VGET (ZTEMPF) SHARED" 
  "SUBMIT '"ZTEMPF"'"   

Can we see the ALLOCs for SUBMI and FINAL files ?
Can we see the T1 skeleton ?
Is there any relation between these 2 pieces of code ???
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 What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm
No new posts how to extract the member name ? jackzhang75 CLIST & REXX 1 Wed Feb 17, 2016 9:21 pm
No new posts Check if a member is present in libra... enrico-sorichetti All Other Mainframe Topics 1 Wed Feb 03, 2016 12:29 pm
No new posts Editing "member generations"... Ricardo Viegas TSO/ISPF 1 Tue Dec 29, 2015 7:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us