MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Attibutes same as sortin

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Martin
Beginner


Joined: 20 Mar 2006
Posts: 133
Topics: 58

PostPosted: Thu Jan 11, 2007 3:09 am    Post subject: Attibutes same as sortin Reply with quote

Hi,

I need to set the attr of output same as input file in a sot step. Can any 1 let me know whats the syntax fo this?

Note : - I do not know the attr of the input file

-Mt
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Thu Jan 11, 2007 3:14 am    Post subject: Reply with quote

I think you don't need to mention these atrributes, SORT will automatially set it same as the SORTIN file.
Back to top
View user's profile Send private message Send e-mail
satheeshs
Beginner


Joined: 06 Jul 2006
Posts: 13
Topics: 3
Location: 'Mainframe World'

PostPosted: Thu Jan 11, 2007 3:34 am    Post subject: Reply with quote

If the input file is in DASDs, you can use 'LIKE='i/p file'' parameter while you catalog the o/p dataset.
LIKE will not support tape datasets
_________________
Satheesh
Back to top
View user's profile Send private message Yahoo Messenger
dz
Beginner


Joined: 02 Apr 2006
Posts: 26
Topics: 0

PostPosted: Thu Jan 11, 2007 10:58 am    Post subject: Reply with quote

This can be done in JCL:
//SORTOUT DD DSB=*.SORTIN
Back to top
View user's profile Send private message
dz
Beginner


Joined: 02 Apr 2006
Posts: 26
Topics: 0

PostPosted: Thu Jan 11, 2007 11:02 am    Post subject: Reply with quote

Sorry, I meant DCB:
//SORTOUT DD DCB=*.SORTIN
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group