IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Using File in DD statement at Submission of program


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 1436
Location: Bangalore,India

PostPosted: Tue Apr 10, 2007 11:27 am
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: 691
Location: Earth

PostPosted: Tue Apr 10, 2007 12:09 pm
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: 1436
Location: Bangalore,India

PostPosted: Tue Apr 10, 2007 12:53 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Using API Gateway from CICS program CICS 0
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top