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

How can we use single READ STATEMENT for 2 INPUT FILEs?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mann_naaz

New User


Joined: 13 Dec 2006
Posts: 4
Location: Pune

PostPosted: Wed Dec 20, 2006 11:46 am
Reply with quote

HOW CAN WE USE SINGLE READ STATEMENT FOR 2 INPUT FILE?

CAN WE USE 1 NOT AT END CLAUSE FOR BOTH INPUT FILE
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Dec 20, 2006 12:31 pm
Reply with quote

dont know even if you CAN at all... try out and see the error messages...

Quote:
CAN WE USE 1 NOT AT END CLAUSE FOR BOTH INPUT FILE

But it should be coded seperately.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Dec 21, 2006 12:55 am
Reply with quote

Hello,

If the two files contain the same kind of data, you can define 1 file in the program and concatenate them in the execute JCL.
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 Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top