Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SDSF output to a dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rajasekar2810

New User


Joined: 22 Apr 2008
Posts: 6
Location: india

PostPosted: Mon Apr 20, 2009 3:43 pm    Post subject: SDSF output to a dataset
Reply with quote

Hi

While trying to write a Job log to a dataset through a Batch Job am facing few issues.
The Print statement is printing the dataset to job output SYS00001
rather than to a dataset where i want it to be printed.

Can anyone Help me resolve this please.

This is the ISFIN I have issued for the SDSF.

//ISFIN DD *
PREFIX jobname
OWNER *
ST jobname
++ALL
FIND jobname LAST
++S
PRINT
PRINT ODSN 'dataset name'
PRINT CLOSE
END
/*
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 20, 2009 3:48 pm    Post subject:
Reply with quote

It would do, as you issue the PRINT command before the PRINT ODSN statement.
Back to top
View user's profile Send private message
rajasekar2810

New User


Joined: 22 Apr 2008
Posts: 6
Location: india

PostPosted: Mon Apr 20, 2009 3:55 pm    Post subject: Reply to: SDSF output to a dataset
Reply with quote

Still the same error.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Apr 21, 2009 10:08 am    Post subject:
Reply with quote

Hi,

works perfectly for me.

Have you checked for messages in ISFOUT DD ?


Is the file pre-allocated ?



Gerry
Back to top
View user's profile Send private message
rajasekar2810

New User


Joined: 22 Apr 2008
Posts: 6
Location: india

PostPosted: Tue Apr 21, 2009 10:20 am    Post subject:
Reply with quote

Thanks all

Its problem with the BLK size of the file I have issued and once I changed it all worked fine and thanks all for your valuble inputs on this.

icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 6 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SDSF and SAF security danik56 TSO/ISPF 3 Wed Mar 15, 2017 12:51 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us