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
 
i want write OUTPUT file and error file from 2 tables....

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
anatha

New User


Joined: 19 Jan 2006
Posts: 7

PostPosted: Tue Jan 24, 2006 11:24 am    Post subject: i want write OUTPUT file and error file from 2 tables....
Reply with quote

I have two files Employee(Master file) & Department(Child file). In both the files one
common column is there. I want to write OUTPUT file whose details contain in both
the files. If any one didn?t contain in Department file those records write into
ERROR file.
:(
Back to top
View user's profile Send private message

anatha

New User


Joined: 19 Jan 2006
Posts: 7

PostPosted: Tue Jan 24, 2006 11:28 am    Post subject: how do we restart job from particular step ?
Reply with quote

I have 3 Procedures. Each procedure contain 4 steps. I used 3 procedures in one Job.
My job is abended in 2nd step of 3rd procedure. How do u restart the job?
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Jan 24, 2006 11:53 am    Post subject:
Reply with quote

Hi anatha,
It seems that both your qustions are distince. ( are they?).

1. The title of the topic says, there are two tables. and the description of the question says that it has two input files. Master and child(well, what is a child file?).
in both the ways, you need to write a cobol/db2 or vanilla cobol program.

2. you can use restart = (proc.step) in your job card and resubmit the job.
Back to top
View user's profile Send private message
sbalajibe

New User


Joined: 15 Aug 2005
Posts: 62

PostPosted: Tue Jan 24, 2006 11:56 am    Post subject:
Reply with quote

Hi anatha,

please explain the first question clearly so that we can answer clearly


thanks
balaji
Back to top
View user's profile Send private message
anatha

New User


Joined: 19 Jan 2006
Posts: 7

PostPosted: Tue Jan 24, 2006 12:01 pm    Post subject: I have 2 files not 2 tables
Reply with quote

Hi parikshit123 ,

Sorry please ignore subject line .I have 2 files not tables.

Thanks ,
Anatha
icon_sad.gif
Back to top
View user's profile Send private message
sbalajibe

New User


Joined: 15 Aug 2005
Posts: 62

PostPosted: Tue Jan 24, 2006 12:47 pm    Post subject:
Reply with quote

hi anatha,

my suggestion would be sort both the files on the common column then
write a comparison logic to write the output and error files


if u need more please give us the record layouts and file structures


thanks
Balaji
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

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