Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us