View previous topic :: View next topic
|
Author |
Message |
asmanyam
New User
Joined: 18 Nov 2005 Posts: 9
|
|
|
|
Hi,
I am trying to see how to enable log in ISPF. I did give option as KEEP and NEW (KN/4) in ISPF log and list defaults.
The following is that display for ISPLOG.
R22RES SHR,KEEP > SYS1.DFQLLIB
NEW,DEL > ISPLOG NULLFILE (Dummy)
When I give LOG command in ISPF its giving message "The LOG data set cannot be processed when it has been preallocated."
We are new to System programming. I did search in manuals and other posts in helpboard. Could not find relevant content. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
I strongly suggest that you use the ISRDDN command instead of LISTA.
Check the TSO procedure you are using, remove any allocations for ISPLIST and ISPLOG.
Check any initial allocation script, remove any allocations for ISPLIST and ISPLOG.
Log off and on.
In Settings Log/List 'Log Data Set Defaults' try option 4.
ISPF LIST and LOG datasets are allocated dynamically so you will see something like this in the ISRDDN list for the LOG dataset:
SYSXU3 MOD,CATLG > ISP11360 WJ1.SPFLOG2.LIST
Use a REXX pgm like this to write controlled messages to LOG.
Code: |
/* write ISPF log record rexx */
parse arg zedlmsg
if zedlmsg='' then zedlmsg='ISPF log' date('s') time()
address ispexec "vput (zedlmsg)"
address ispexec "log msg(isrz000)" |
|
|
Back to top |
|
|
asmanyam
New User
Joined: 18 Nov 2005 Posts: 9
|
|
|
|
Hi,
Thank you very much. Your prompt for logon procedure gave the clue. Our existing system was having DUMMY, hence it was not writing.
Thank you very much again.
Thanks
Subbu Ambati |
|
Back to top |
|
|
|