View previous topic :: View next topic |
Author |
Message |
cxvxbx Beginner
Joined: 26 Apr 2006 Posts: 16 Topics: 8 Location: Utopia
|
Posted: Thu May 04, 2006 9:31 am Post subject: Editing a compiler listing file |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu May 04, 2006 10:13 am Post subject: |
|
|
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 |
|
 |
cxvxbx Beginner
Joined: 26 Apr 2006 Posts: 16 Topics: 8 Location: Utopia
|
Posted: Mon Jun 05, 2006 5:30 am Post subject: |
|
|
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
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 |
|
 |
ranga_subham Intermediate

Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Tue Jun 06, 2006 9:53 pm Post subject: |
|
|
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 |
|
 |
cxvxbx Beginner
Joined: 26 Apr 2006 Posts: 16 Topics: 8 Location: Utopia
|
Posted: Tue Jun 06, 2006 10:17 pm Post subject: |
|
|
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 |
|
 |
ranga_subham Intermediate

Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Thu Jun 08, 2006 2:33 am Post subject: |
|
|
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 |
|
 |
cxvxbx Beginner
Joined: 26 Apr 2006 Posts: 16 Topics: 8 Location: Utopia
|
Posted: Thu Jun 08, 2006 3:12 am Post subject: |
|
|
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 |
|
 |
|
|