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
 

 

REXX to use FILEMASTER LAYOUT view option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
pravinj

New User


Joined: 10 Jun 2008
Posts: 24
Location: india

PostPosted: Wed Sep 30, 2009 11:04 pm    Post subject: REXX to use FILEMASTER LAYOUT view option
Reply with quote

I am working on a REXX utility to calculate the memory in bytes occupied between two points (marked in labels) in the working storage section of COBOL pgm/COPYBOOK. Sometime back i was trying to parse each string between the labels and calculate the lenght by computing bytes of each picture clause. But that's really a tough job to get through all different scenarios.
Now i have got into PLAN B of writing the marked portion of the copybook to a temporary PDS and then calling CA FILEMASTER Layout view option. I succeeded in validating the labels/ creating the temporary PDS/ and almost reaching to the data entry panel of view layout option. But i wish to bypass the data entry panel and display the layout (with total bytes occupied) of temporary member created.

Can you share your thoughts and approaches for this idea?
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 30, 2009 11:37 pm    Post subject:
Reply with quote

Hello,

If this was my requirement, i believe i'd have used the output of a compile and calculated the difference of the displacements. . .

I'm not familiar with FileMaster, but if there is a way to run it in batch, you could parse the output generated. . .
Back to top
View user's profile Send private message
pravinj

New User


Joined: 10 Jun 2008
Posts: 24
Location: india

PostPosted: Thu Oct 01, 2009 6:56 pm    Post subject:
Reply with quote

I could go on with this option, but if i have to find the length on the code which is still under development or if i need to find the length of the copybook?
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: Thu Oct 01, 2009 7:12 pm    Post subject:
Reply with quote

Hello,

Put what is available in some throw-away code and "compile" it. . .

It will have errors, but the lengths/displacements will be resolved - unless the data definitions are incomplete/wrong. . .
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm


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