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
 
EZT Working Storage Variable as the key for Matching Logic

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
sjothiprakash

New User


Joined: 21 Jul 2007
Posts: 12
Location: Chennai

PostPosted: Mon Sep 01, 2008 8:57 pm    Post subject: EZT Working Storage Variable as the key for Matching Logic
Reply with quote

Hi,

I want to use matching logic with one of the keys as a working storage variable. Let me try to explain it with an example.

FILE A
fielda1


FILE B
fieldb1
fieldb2

For the first file i want to make use of one working storage variable
w-fielda1 as one of the keys(the other key is fielda1, fieldb1) in the job input statement for matching logic.

ie, the key should be fielda1, w-fielda2 -> for FILE A
fieldb2, fieldb2 -> for FILE B

Could you please tell me if this is possible in easytrieve.

Thanks!
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Sep 01, 2008 10:49 pm    Post subject:
Reply with quote

Have you looked into 'Synchronized File Processing' in the EZT manual?
Back to top
View user's profile Send private message
sjothiprakash

New User


Joined: 21 Jul 2007
Posts: 12
Location: Chennai

PostPosted: Wed Sep 03, 2008 12:01 pm    Post subject:
Reply with quote

Yes, I saw that and i am using the same Matching logic. My concern is if we can use a working storage variable as the key for this matching since my first file does not have that field.
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: Wed Sep 03, 2008 12:29 pm    Post subject:
Reply with quote

Hello,

I do not believe you will be able to use "synchronized file processing" directly for your requirement.

A more traditional, coded match/merge may be what you need.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts sharing PLI storage Pedro PL/I & Assembler 2 Mon Oct 16, 2017 10:11 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm

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