MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Editing a compiler listing file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
cxvxbx
Beginner


Joined: 26 Apr 2006
Posts: 16
Topics: 8
Location: Utopia

PostPosted: Thu May 04, 2006 9:31 am    Post subject: Editing a compiler listing file Reply with quote

We use Endevor to compile programs and the compile listing is stored in Endevor. Whenever a program is recompiled, Endevor adds some header information to the listing (e.g. if the program has been compiled twice, Endevor will show two headers in the listing file). Due to this, the position of the data within the listing changes.

We use this listing file to create symbolic files (for expeditor) using compuware cobol LP utilities. However, due to shift in data position (because of Endevor ), the utilities are unable to generate the symbolic files.

We have found a roundabout way to use STARTOOL to edit the listing file and restore it to its original version. However, in case of large programs, STARTOOL is unable to edit the files due to lack of memory.

So now, we are looking at a programmatic approach to edit the listing file. However, we do not have the record structure for this file
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu May 04, 2006 10:13 am    Post subject: Reply with quote

cxvxbx,

Sort/Fileaid are capable of editing VB files with an lrecl of 4109 bytes

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cxvxbx
Beginner


Joined: 26 Apr 2006
Posts: 16
Topics: 8
Location: Utopia

PostPosted: Mon Jun 05, 2006 5:30 am    Post subject: Reply with quote

Thanks kolusu. we found a way to print the endevor listing to a dataset. this is a functionality offered by endevor and the output dataset thus created is 133 FBA...easily editable Very Happy

The problem with startool (we dont have fileaid) was lack of enough memory to edit such a big file. for larger programs we got a space abend all the time.
Back to top
View user's profile Send private message
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Tue Jun 06, 2006 9:53 pm    Post subject: Reply with quote

cxvxbx, can you tell me how did you do that using Endevor?

TIA.
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
cxvxbx
Beginner


Joined: 26 Apr 2006
Posts: 16
Topics: 8
Location: Utopia

PostPosted: Tue Jun 06, 2006 10:17 pm    Post subject: Reply with quote

Using SCL. Try the SCL generation prompt and check out the PRINT option. The PRINT option will allow you to print the endevor listing. It will print to spool by default. You can either XDC it of change the endevor JCL to direct to a 133 FBA dataset.
Back to top
View user's profile Send private message
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Thu Jun 08, 2006 2:33 am    Post subject: Reply with quote

Hi,

I came across one more option.

Go to the FOOTPRINT of a particular member, then copy the dataset name and put it in a 3.4 and dup it to the LIST file name.

HTH.
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
cxvxbx
Beginner


Joined: 26 Apr 2006
Posts: 16
Topics: 8
Location: Utopia

PostPosted: Thu Jun 08, 2006 3:12 am    Post subject: Reply with quote

that also works, but the file in that case would be a 4109 VBA. Using SCL it works out to be 133 FBA.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group