Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us