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

EZT Working Storage Variable as the key for Matching Logic


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Mon Sep 01, 2008 10:49 pm
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
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

Moderator Emeritus


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

PostPosted: Wed Sep 03, 2008 12:29 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
No new posts CICS vs LE: STORAGE option CICS 0
Search our Forums:

Back to Top