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
 

 

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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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