GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 123 of 128    Print  
How to create a PDS file using JCL

  
Total Answers and Comments: 8 Last Update: October 05, 2009     Asked by: Gowrikalepalli 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: praveen_s
 
//stepname DD DSN =Dataset name,
// DISP=(NEW,CATLG,DELETE),
// SPACE =(TRKS,(20,20,5),RLSE),
// DCB=(RECFM=FB,LRECL=30,BLKSIZE=3030),

Above answer was rated as good by the following members:
ishabudhiraja
August 02, 2008 12:30:29   #1  
vijay01anand Member Since: August 2008   Contribution: 1    

RE: how can we create a PDS file using jcl
//stepname DD DSN Dataset name
// DISP (NEW CATLG DELETE)
// SPACE (TRKS (20 20) RLSE)
// DCB (RECFM FB LRECL 80 BLKSIZE 0)

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 2Overall Rating: -2    
August 17, 2008 04:14:20   #2  
arun442 Member Since: August 2008   Contribution: 3    

RE: how can we create a PDS file using jcl

PDS is also known as folder in disp parameter

disp (cyl (10 10 10) rlse)

first 10 primary memory

second 10 secondary memory

third 10 memory used to make pds.

if this 10 or any value is not present then a ps will be formed instead of pds


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
December 18, 2008 19:44:50   #3  
serken Member Since: December 2008   Contribution: 8    

RE: how can we create a PDS file using jcl
It is absolutely necessary to add 'directory' subparameter to SPACE (TRK (20 20 50)...)

To be completely accurate we also need to add subparameter DCB (DSORG PO ...)

 
Is this answer useful? Yes | No
December 18, 2008 19:46:14   #4  
serken Member Since: December 2008   Contribution: 8    

RE: how can we create a PDS file using jcl
It is not DISP but SPACE parameter!
 
Is this answer useful? Yes | No
March 05, 2009 03:07:50   #5  
praveen_s Member Since: March 2009   Contribution: 1    

RE: how can we create a PDS file using jcl
//stepname DD DSN Dataset name
// DISP (NEW CATLG DELETE)
// SPACE (TRKS (20 20 5) RLSE)
// DCB (RECFM FB LRECL 30 BLKSIZE 3030)

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
May 28, 2009 11:20:12   #6  
pravichopade Member Since: September 2006   Contribution: 2    

RE: How to create a PDS file using JCL
We cannot create the Mem in a PDS.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
August 01, 2009 10:51:56   #7  
Alfredo Wagner Member Since: August 2009   Contribution: 2    

RE: How to create a PDS file using JCL
In SPACE parameter coding directory block subparameter or in DCB parameter the DSORG PO subparameter.
 
Is this answer useful? Yes | No
October 04, 2009 05:44:28   #8  
venkat65318 Member Since: September 2009   Contribution: 4    

RE: How to create a PDS file using JCL
using IEFBR14 we can create pds with jcl.
//TZZZ84R JOB NOTIFY &SYSUID MSGCLASS X
//STEP01 EXEC PGM IEFBR14
//DD1 DD DSN TKOL084.DEMO DISP (NEW CATLG DELETE)
// DCB (RECFM FB LRECL 80 BLKSIZE 80 DSORG PO)
// SPACE (TRK (10 10 3) RLSE)
// UNIT SYSDA

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape