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

ISPF ISPLOG


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

New User


Joined: 18 Nov 2005
Posts: 9

PostPosted: Wed Jun 26, 2019 7:29 pm
Reply with quote

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
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Thu Jun 27, 2019 3:32 pm
Reply with quote

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
View user's profile Send private message
asmanyam

New User


Joined: 18 Nov 2005
Posts: 9

PostPosted: Thu Jun 27, 2019 7:52 pm
Reply with quote

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
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 Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Is there a way to close VSAM files us... CICS 8
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top