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
 

 

How to tell dataset DSORG by the JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
madanreddy

New User


Joined: 05 Oct 2006
Posts: 1
Location: bangalore

PostPosted: Thu Oct 05, 2006 6:15 pm    Post subject: How to tell dataset DSORG by the JCL
Reply with quote

hi all

pls let me know how can we know whether the file is a ps or a pds or a vsam dataset but just seeing the jcl

thanks
madan
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Oct 05, 2006 6:27 pm    Post subject: Re: How to tell dataset DSORG by the JCL
Reply with quote

You can't, unless the PDS is being referred to with a specific member name. The only way you could possibly know is to look into where they are defined.
Back to top
View user's profile Send private message
prashanth1

New User


Joined: 27 Sep 2006
Posts: 47
Location: Hyderabad

PostPosted: Fri Oct 06, 2006 11:14 am    Post subject: Re: How to tell dataset DSORG by the JCL
Reply with quote

DSORG=PS (FOR PS file)
DSORG=PO (FOR PDS) and there is no specific declaration for VSAM file

DSORG is the sub parameter of DCB. And it is optional.
Back to top
View user's profile Send private message
parag107

New User


Joined: 17 Jan 2007
Posts: 6
Location: INDIA

PostPosted: Tue Jan 23, 2007 4:15 pm    Post subject:
Reply with quote

hi,

if u seeing coding of jcl then if(trk(21,2,2)) is writen it's

pds because the 3 parameter of space shows blok whis is the parametrt of pds
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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 JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am


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