View previous topic :: View next topic
|
Author |
Message |
Deepak Dash
New User
Joined: 03 Sep 2007 Posts: 16 Location: India
|
|
|
|
Hi,
Is there any TSO command or any ISPF command which will help me to expand my copybook while looking into the source code.
Thanks |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Nope. |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 631 Location: Wisconsin
|
|
|
|
Well if you are just viewing the code then you could stick a B on the line after the copy statement and then type on the command line copy 'copylib(copybook)' and it will be pulled into your edit session. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
I use "EXPND" command, after opening the Source code in view mode via 3.4, to expand copybooks. Might be site specific, still give a try. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
These are all site specific. You can write your own REXX/CLIST for that purpose.
O. |
|
Back to top |
|
|
tom_mat
New User
Joined: 13 Jul 2005 Posts: 11
|
|
|
|
try Include command on the command line,it expands all the copybook refered in the source. sometimes it may work for you!!
Thanks
Tom! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
tom_mat wrote: |
try Include command on the command line,it expands all the copybook refered in the source. sometimes it may work for you!!
Thanks Tom! |
Include should be site specific. |
|
Back to top |
|
|
logeswarank Warnings : 1 New User
Joined: 15 Oct 2006 Posts: 22 Location: Chennai
|
|
|
|
Hi,
Try this one.
Give "B" in linenumber of which copybook you want to open or expand.After then type COPY ' CMAP106.COPYB.PDS(RECORDS)' in command line.
CMAP106.COPYB.PDS is an dataset name.
RECORDS is a copybook.
If its wrong correct me. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Logeswaran,
You have repeated what 'stodlas' had posted earlier.
There is a good chance that you may end up include a different version of copybook than that will be actually used while compiling the program. So I will suggest looking in to expanded copybook in compiler listing. |
|
Back to top |
|
|
logeswarank Warnings : 1 New User
Joined: 15 Oct 2006 Posts: 22 Location: Chennai
|
|
|
|
Hi Abhijit Kshirsagar ,
Thank you for your suggestion. |
|
Back to top |
|
|
sun_job
New User
Joined: 18 Sep 2007 Posts: 73 Location: Bangalore
|
|
|
|
if you using endevor tool , u can use the footprint option to expand the copybook in the source code. |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Hi,
Just an addon view, If you are using PANVALET you will have an expand option.
set the option to yes to view the program in expand mode.
Cheers,
Diwakar |
|
Back to top |
|
|
anilboke
New User
Joined: 08 May 2006 Posts: 3
|
|
|
|
type TSO CBX on command line and place cursor at copy book name and press Enter. This works in our shop. |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Sun,
I tried using Enddevor, But i could not able to view the code in expanded mode.
Do you have any setting/command to enable this ?
Cheers,
Diwakar
---------------------------------
Nobody is Perfect. I am Nobody |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
I tried using Enddevor, But i could not able to view the code in expanded mode. |
In Endevor go to Footprrint option, and do listing of source module.
This is same as your compilation listing. |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Devzee,
Thanks for your quick reply. I went into the footprint option and browsed the member.
But still the member is in compressed mode.
Any Suggestions ? |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
You did Browse or Listing? |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
I did Browse buddy |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Should I assume you did Listing |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Dev,
Let me explain clearly.
1. I went into the footprint option and gave the dataset name in the (other partioned data set name option) and pressed enter ( i didnt give any option)
2. Member listed in the component window and i entered option B against the member and the member opened.
When i view the copy books it is still in the compressed mode ! |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Check if you can do L listing unstead of B. |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Dev,
I could able to do the listing for the component.
Can you tell me for certain components i get ' Member not Footprinted'
What does it mean ?
Do we need to recompile the program in NED ? |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
All COBOL programs which are in Endevor and succesfully compiled with no errors should have footprint. |
|
Back to top |
|
|
diwa_thilak
Active User
Joined: 13 Jul 2006 Posts: 205 Location: At my desk
|
|
|
|
Dev,
For certain components i get the above error message.
I think this is the problem, that is y the component is not getting expanded ?
Any suggestions buddy ? |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Then see if you can re-compile |
|
Back to top |
|
|
|