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
 
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. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm
No new posts VALIDATE option in BIND jcl Poha Eater DB2 2 Mon Feb 26, 2018 7:08 pm
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm
This topic is locked: you cannot edit posts or make replies. how to get Job information from IOF u... rsshanmugam CLIST & REXX 13 Mon Feb 05, 2018 4:22 pm

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