View previous topic :: View next topic
|
Author |
Message |
sivakumar cv
New User
Joined: 18 Sep 2007 Posts: 4 Location: US
|
|
|
|
Hi all,
I am trying to write to a PS from CLIST.
I am using
GLOBAL
CONTROL END(ENDO) MSG CON SYM LIST PROMPT NOFLUSH
I am getting the following error:
IKJ56247I DATA SET <dataset name> NOT FREED, IS NOT ALLOCATED
How to go about it.
Regards. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
sivakumar cv
New User
Joined: 18 Sep 2007 Posts: 4 Location: US
|
|
|
|
I had been refering to it.
I am using this
"GLOBAL
CONTROL END(ENDO) NOMSG NOCON NOSYM NOLIST PROMPT FLUSH"
want to know if there is any mistake in the above code? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Have you looked in the messages and codes book for IKJ56247I |
|
Back to top |
|
|
sivakumar cv
New User
Joined: 18 Sep 2007 Posts: 4 Location: US
|
|
|
|
Hi All,
Thanks. I was able to resolve the issue.
For your reference we can use this code to write into a file picking the jcl from skeleton.
ALLOC FI(ISPFILE) DA('<dataset name>') SHR
ISPEXEC FTOPEN
ISPEXEC FTINCL TABAUTH
ISPEXEC FTCLOSE LIBRARY(ISPFILE)
FREE FI(ISPFILE)
I found this to be the easiest way. One can avoid programming too.
Thanks. |
|
Back to top |
|
|
|