IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to refresh the shared pool / panel?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sridhar R

New User


Joined: 11 Dec 2010
Posts: 20
Location: India

PostPosted: Fri Sep 07, 2012 8:09 pm
Reply with quote

When I submit a job from REXX thru ISPF panels, job got submitted but when agian if i submit the same job or some different job without coming out of my panel im getting below error. how to fix this?

Error :
Parameter 'SYS12251.T063918.RA000.EVSXR29.R0317765' exceeds the allowable
length.

Current dialog statement:
vget (SYS12251.T063918.RA000.EVSXR29.R0317765) shared

My Code is :
mem_name = 'JCLABC'
"ftopen temp"
"ftincl "mem_name
"ftclose"
"vget ("ztempf") shared"
address tso
"submit '"ztempf"'"
[/img]
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Sep 07, 2012 8:15 pm
Reply with quote

ztempf is a variable name, so the code should be:

"vget (ztempf) shared"
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Sep 07, 2012 8:16 pm
Reply with quote

c /"vget ("ztempf") shared"/"vget (ztempf)"/*
Back to top
View user's profile Send private message
Sridhar R

New User


Joined: 11 Dec 2010
Posts: 20
Location: India

PostPosted: Fri Sep 07, 2012 8:33 pm
Reply with quote

thats fine when i submit first time its working fine without any error. But if try to submit a job again without coming out of the panel its giving the above error.

Please guide me how to fix that
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 07, 2012 8:36 pm
Reply with quote

Hello,

You were told how to change the code (twice).

Have you done this? What happened? If there is still a problem, post the output of a trace.
Back to top
View user's profile Send private message
Sridhar R

New User


Joined: 11 Dec 2010
Posts: 20
Location: India

PostPosted: Fri Sep 07, 2012 8:41 pm
Reply with quote

I have tried but...

Below is my output still :

Parameter 'SYS12251.T063918.RA000.EVSXR29.R0317765' exceeds the allowable length.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Fri Sep 07, 2012 8:50 pm
Reply with quote

Your code works by coincidence the first time because the uninitialized value of the variable ZTEMPF is "ZTEMPF". It fails on the second attempt because a value has been assigned to ZTEMPF.

Follow the advice you have been given. In particular, pay attention to the quotation marks. In rexx, they are very important.

Also, follow my usual advice to use HILITE REXX to help you distinguish constants from variables.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 07, 2012 8:50 pm
Reply with quote

Hello,

I don't see trace output?

If it works one time and fails the second, it is likely the code is corrupting something.

If the code is not long, posting it may help someone help you.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Call program, directly from panel CLIST & REXX 9
No new posts panel creation question TSO/ISPF 12
No new posts Panel variable model line TSO/ISPF 3
No new posts REXX table content on panel will be r... CLIST & REXX 6
Search our Forums:

Back to Top