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

Updated CLIST is not being picked up by the program.


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pravin madoori

New User


Joined: 29 Jan 2007
Posts: 25
Location: Hyderabad

PostPosted: Thu Aug 20, 2009 10:51 am
Reply with quote

Hi
I have a PLI program which calls a CLIST. I had changed the CLIST but it has not picked up by the program, It is still giving same errors which were coming with old clist code.

The problem with old code:
PROC 0
CONTROL ASIS NOFLUSH NOMSG NOLIST NOCONLIST NOSYMLIST
WRITE EXECUTING COATZ96

/************************************************************
/* GET CONTROL VARS AND USER-ENTERED VARS FROM ISPF
/************************************************************
ISPEXEC VGET ( PLANID ) SHARED
ISPEXEC VGET ( ZCMD,
- - - - - - - - - - - - - - - 14 Line(s) not
MACSR10 ) SHARED

/************************************************************
/* DELETE DATASET FROM PREVIOUS REQUEST
/************************************************************
DELETE '&PLANID..USERONL.&ZUSER..COATZ95.HISTIN'

FREE ATTRLIST (DCB)
ATTRIB DCB BLKSIZE(25) RECFM(F) LRECL(25) DSORG(PS)
ALLOC FI(DATAOUT)
DA('&PLANID..USERONL.&ZUSER..COATZ95.HISTIN')
NEW
CATALOG
SP(1 1)
USING(DCB)
REUSE

OPENFILE DATAOUT OUTPUT

when above is executed I am getting below errors:
IGD17051I ALLOCATION FAILED FOR DATA SET
USERONL.PRAVINA.COATZ95.HISTIN
, PRIMARY SPACE EXCEEDS 65535 TRKS
The input or output file DATAOUT is not allocated. It cannot be opened for I/O.
EXECIO error while trying to GET or PUT a record.

New CLIST:
changed SP(1 1) to SP(1,1) Tracks but still same error.

So , i have removed everything from CLIST & just kept few WRITE lines... but still getting same above error.. I wonder why my updated CLIST is not in effect.

Program call CLIST like below:
COMMAND = 'CMD(%COATZ96)';
CALL ISPLINK('SELECT',LCOMMD, COMMAND);

please let me know,,what I need to do,,if my new clist code has to work?/
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Aug 20, 2009 11:39 am
Reply with quote

Is it called by the program from the same library that you updated it in ?
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top