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
 

 

Getting cobol Copy book length in Rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
ksreddy1976

New User


Joined: 28 Jun 2005
Posts: 7

PostPosted: Tue May 29, 2007 4:42 pm    Post subject: Getting cobol Copy book length in Rexx
Reply with quote

Hi,
How to get the cobol copy book or Record layout length in REXX.
As we can see length thru file aid (view record layout) , If i want execute same thru REXX, How it can be done.

PLease suggest the way, it can be done

Thanks
Srinivas
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue May 29, 2007 4:49 pm    Post subject:
Reply with quote

It is a somewhat complex task. My solution was to write an Edit-macro shell that invokes File-Aid's RLPRINT function.

O.
Back to top
View user's profile Send private message
ksreddy1976

New User


Joined: 28 Jun 2005
Posts: 7

PostPosted: Wed May 30, 2007 11:20 am    Post subject: Re: Getting cobol Copy book length in Rexx
Reply with quote

Thanks for quick help..
My requirement is to get the length of record layouts(copy books) in a PDS lengths and write to the file. I need to generate some report abou for each copy book what is the length.

If u have any code, how to get the length using file-aid. PLease guide me.
If i want execute the file-aid thru , How it can be done. HOw it can acheived thru RLPRINT command .

PLease suggest in this regard.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu May 31, 2007 3:09 pm    Post subject:
Reply with quote

Don't you have FileAid's manuals? It's all there...

O.
Back to top
View user's profile Send private message
bakshi_man

New User


Joined: 06 Jun 2007
Posts: 3
Location: mumbai

PostPosted: Tue May 20, 2008 5:20 pm    Post subject:
Reply with quote

ofer71 wrote:
Don't you have FileAid's manuals? It's all there...

O.




HI

could u please guide me to towards the manuals. i mean the location where these manuals r located.

thanx
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue May 20, 2008 5:26 pm    Post subject: Reply to: Getting cobol Copy book length in Rexx
Reply with quote

Go to http://www.compuware.com/.

Select the Technical Support tab.

Log in and download whatever you need.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Tue May 20, 2008 6:27 pm    Post subject:
Reply with quote

see http://groups.google.be/group/bit.listserv.tsorexx/browse_thread/thread/d60c97b35839e3ff/bdcec8b86fb6ecae?lnk=gst&q=rexx+record+calculation#

At the end of first thread.

Thanks to Mark Harrington.

Cheers
Pierre
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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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