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
 

 

Reading the Endevor Listing (Compressed?) Using Rexx

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

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Tue Jul 12, 2011 3:04 pm    Post subject: Reading the Endevor Listing (Compressed?) Using Rexx
Reply with quote

Hi

In my current manframe shop, after an endevor listing is created and I try to view the member (program) in the listing PDS (library) it appears in the non-readable characters something like this:

Code:

IO $COMP3 BITS=.Ì°.gÊ\                               
 --                                                 
..±L~ø                                               
â.?{ë.Û..§ÿµçË«.Ü..t.xl4.Ü...£y\.S1=b.Ø             
GÂ.}Ä;..É<TËÇÜ...qå.õ{.¡ì                           
aR...;..u .éØá..Oþ..&åm@.ïb..k.eãxê°..m.\           
J¬©:(.a(=FÖ.{ÁÇa*=PÐ.#.sö                           
Jz.#Á...£í.ï.§\ae¨­ÁÁ{                               
¹ÄéçÇ...Få.ÍÌþ.¾`C!ÉK{                               
.ÿj..î.qnW{¾¹Ú.T~·.                                 
ÿB½.ÙÕ..P_U³.\                                       
E.N.e²..òbÏ@..3.                                     


When I go to endevor and view the listing it appears in readable characters. I am not sure what makes the member in the listing library appear in non-readable character.

I was trying to read the member from rexx but not able to figure out how to get the characters in readable format.

Could anyone please suggest any approach to read the listing may be through endevor (using rexx) or to read this non-readable file and make characters readable using rexx?

Thanks in advance.
Back to top
View user's profile Send private message

kgrimes

New User


Joined: 28 Sep 2009
Posts: 22
Location: Columbia, SC

PostPosted: Tue Jul 12, 2011 10:22 pm    Post subject: Reply to: Reading the Endevor Listing (Compressed?) Using Re
Reply with quote

Since Endevor stores the listings in a compressed format, you will need to use Endevor or an Endevor utility to browse the listings. Depending on what you are trying to accomplish, there are several possibilities including the Endevor batch interface (C1BM3000) and the Endevor Application Programming Interface (API).

You can use the Endevor batch interface to print an Endevor listing using syntax similar to the following:
PRINT MEMBER 'XXXXXXXX' FROM DSNAME 'XXXXXXXX.LISTING'
With this method, your Rexx program could allocate all the required files, build the control statement, and then execute the Endevor batch interface to write the Endevor listing to a temporary dataset which you could then browse. On the downside, you may not be able to use this approach if you plan to execute your Rexx program while your user is already in Endevor because you will not be able to properly allocate all of the required Endevor datasets.

Another more elegant solution which you could execute from outside of Endevor and also from inside of Endevor is the Endevor Application Programming Interface. The Endevor API includes support for the PRINT MEMBER action. The Endevor API does not directly support Rexx so you would need to write a COBOL, PL1, or Assembler program to accept the parameters from your Rexx program and then call the Endevor API. Then your Rexx program could browse the output dataset from your API program.

The Endevor batch interface and the Endevor API are both documented pretty well in the Endevor documentation set and the Endevor installation libraries include some examples of each.

Kevin
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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 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 Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


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