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
 
Browse the file (when OCCURS clause in the Copybook)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Mon Jun 08, 2009 11:14 pm    Post subject: Browse the file (when OCCURS clause in the Copybook)
Reply with quote

Hi Experts,

I have one input file with the length of say 4534 bytes.
Its copybook contains
02 WS-OCCURS-MASTER OCCURS 0 TO 50 TIMES
DEPENDING ON WS-NBR-MASTER
INDEXED BY WS-MAST.

..
..
.
.


In this case How should I proceed further and the find the value of any particular variable from the input file?

Please help me out.
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: Sun Jun 28, 2009 11:49 am    Post subject:
Reply with quote

Hello,

Open the file in Browse and scroll right/left to the positions you want to look at.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sun Jun 28, 2009 12:51 pm    Post subject:
Reply with quote

If you are looking for some specific value(s) out of the multiple "occurences" -- select "temporary criteria" while browing through File Aid and then restrict the search for specific value(s).
Back to top
View user's profile Send private message
Sam Davies

New User


Joined: 25 Jun 2009
Posts: 6
Location: UK

PostPosted: Tue Jun 30, 2009 6:25 pm    Post subject:
Reply with quote

Hi,

In version of 9.0 of File-AID, they introduced support for ODO (occurs depending on).

In your formatted selection criteria, you can enter OCCURS ALL , OCCURS ANY (this is the default) or OCCURS EVERY as a primary command. This is what they allow you to do.

OCCURS ALL - selection criteria defined, for a field, is specific to the occurence identified in the copybook layout on your screen.

OCCURS ANY - selection criteria defined, for a field, apply to any occurence that meets that citeria.

OCCURS EVERY - selection criteria defined, for a field, must be satisfied in EVERY occurence.

Using the above, you are able to better define the selection criteria for the record and occurence you are interested in.

Have a look in the user guide, for more information.

Cheers.

Sam.
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

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