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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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