Violation of DSN

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
mithunthakre
Member
Posts: 8
Joined: Mon Feb 27, 2006 4:31 pm
Location: India

Violation of DSN

Post by mithunthakre » Fri Dec 08, 2006 12:28 pm

Hi All,

I have 10 files having the size greater than 430 MB. I want to transfer the files on tapes. These files are on DASD.

How i will do this ?

Any one please help me out for this. It's very Urgentttttttt

Bye
Mit's

User avatar
Leo
Member
Posts: 13
Joined: Tue Nov 14, 2006 12:02 pm
Location: HYBD

Post by Leo » Fri Dec 08, 2006 8:48 pm

hi

Write a simple copy job with the output file as a tape file and with "SORT FIELDS=COPY" , since you just have ten files to copy u can add different steps in the same job or submit the job ten times with different files

Thanks
Leo

chinmaymohapatra33
Member
Posts: 1
Joined: Mon Jan 08, 2007 1:16 pm
Location: Hyderabad

Post by chinmaymohapatra33 » Mon Jan 08, 2007 1:48 pm

How can i make a output file as a tape file ?
Thanks
chinmay

User avatar
Leo
Member
Posts: 13
Joined: Tue Nov 14, 2006 12:02 pm
Location: HYBD

Post by Leo » Mon Jan 08, 2007 8:23 pm

Code: Select all

//STEP010  EXEC PGM=SORT                           
//SYSOUT   DD  SYSOUT=*
//SORTIN   DD  DISP=SHR,DSN=INFILE name                 
//SORTOUT  DD  DSN=OUTFILE name ,                       
//           DISP=(NEW,CATLG,DELETE),            
//           UNIT=TAPE,                          
//           RETPD=&RETPD,                       
//           VOL=(,,,99)                         
//SYSIN    DD *
  SORT FIELDS=COPY 
//*
MAKE THE UNIT = TAPE !!!!!!!!

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others