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
 

 

Using File in DD statement at Submission of program

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

New User


Joined: 27 Mar 2007
Posts: 5
Location: Cochin

PostPosted: Tue Apr 10, 2007 11:24 am    Post subject: Using File in DD statement at Submission of program
Reply with quote

Is it necessary to use vsam files as physical files in dd statement when a cobol file program is submitting using a jcl
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Apr 10, 2007 11:27 am    Post subject:
Reply with quote

Quote:
Is it necessary to use vsam files as physical files


No. Flat files are allowed. As a matter of fact, temproary files created in the previous steps can be used.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Tue Apr 10, 2007 12:09 pm    Post subject:
Reply with quote

Quote:
No. Flat files are allowed. As a matter of fact, temproary files created in the previous steps can be used.

If code is for VSAM file (Suppose KSDS) and we are giving flat file in JCL, will it work..? I don't think so...
Maybe I haven't understood the question correctly.. icon_sad.gif
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Apr 10, 2007 12:53 pm    Post subject:
Reply with quote

Abhijit,

Quote:
If code is for VSAM file (Suppose KSDS) and we are giving flat file in JCL, will it work..? I don't think so...
Maybe I haven't understood the question correctly


I assume nikhachandran wanted to know whether only VSAMs are allowed for COBOL file program and answered the same. My reply never meant for providing PS file in the job if the cobol program has VSAM file code and Vice-Versa.
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 Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm


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