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

cobol logic


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

New User


Joined: 29 Mar 2005
Posts: 62

PostPosted: Fri Jul 29, 2005 10:32 am
Reply with quote

hI,

any one give me the logic for this scenario.

i'm having two file in file -1 & file 2

file-1 file-2

0001 0005
0002 0006
0003 0004
0004 0007


i need an output as output-file

0002
0004
0005

plz give me the logic.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Thu Aug 04, 2005 7:36 pm
Reply with quote

Hi karthi,

Quote:
any one give me the logic for this scenario.

Ideally, you should have a logic before processing output from Input files.

In your case, you have all files but logic.....

Well, what seems to me .....EVEN records from FILE1 & ODD from FILE2 and without duplicates .....Can fulfill this requirements........

Regards,

Priyesh.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Aug 07, 2005 4:41 am
Reply with quote

Hi karthi,

Before you can get (or develop your own) logic you need a problem stmt that makes sense.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top