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

Browse the file (when OCCURS clause in the Copybook)


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Sun Jun 28, 2009 11:49 am
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

Superior Member


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

PostPosted: Sun Jun 28, 2009 12:51 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts HILITE on Browse mode? TSO/ISPF 2
Search our Forums:

Back to Top