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
No new posts Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts REXX contest sergeyken CLIST & REXX 2 Tue Jan 09, 2018 1:55 am
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm

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