Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How can we use single READ STATEMENT for 2 INPUT FILEs?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject:
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: 1452
Location: Chicago, IL

PostPosted: Wed Dec 20, 2006 12:31 pm    Post subject: Re: How can we use single READ STATEMENT for 2 INPUT FILEs?
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

Site Director


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

PostPosted: Thu Dec 21, 2006 12:55 am    Post subject:
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    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 Comparing 2 Files using Current time arunsoods DFSORT/ICETOOL 5 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us