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
 

 

How to Expand a Copybook while looking into the Source Code
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Deepak Dash

New User


Joined: 03 Sep 2007
Posts: 16
Location: India

PostPosted: Wed Sep 05, 2007 5:04 pm    Post subject: How to Expand a Copybook while looking into the Source Code
Reply with quote

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
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Wed Sep 05, 2007 5:35 pm    Post subject: Reply to: How to Expand a Copybook while looking into the So
Reply with quote

Nope. icon_sad.gif
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Wed Sep 05, 2007 5:41 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Sep 05, 2007 6:29 pm    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Sep 05, 2007 7:11 pm    Post subject:
Reply with quote

These are all site specific. You can write your own REXX/CLIST for that purpose.

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

New User


Joined: 13 Jul 2005
Posts: 11

PostPosted: Fri Sep 07, 2007 1:01 am    Post subject: Reply to: How to Expand a Copybook while looking into the So
Reply with quote

try Include command on the command line,it expands all the copybook refered in the source. sometimes it may work for you!! icon_smile.gif
Thanks
Tom!
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Sep 12, 2007 7:01 pm    Post subject: Re: Reply to: How to Expand a Copybook while looking into th
Reply with quote

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!! icon_smile.gif
Thanks Tom!
Include should be site specific.
Back to top
View user's profile Send private message
logeswarank
Warnings : 1

New User


Joined: 15 Oct 2006
Posts: 22
Location: Chennai

PostPosted: Tue Sep 18, 2007 11:57 am    Post subject:
Reply with quote

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Tue Sep 18, 2007 12:33 pm    Post subject:
Reply with quote

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
View user's profile Send private message
logeswarank
Warnings : 1

New User


Joined: 15 Oct 2006
Posts: 22
Location: Chennai

PostPosted: Tue Sep 18, 2007 12:44 pm    Post subject:
Reply with quote

Hi Abhijit Kshirsagar ,

Thank you for your suggestion.
Back to top
View user's profile Send private message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Tue Sep 18, 2007 1:18 pm    Post subject: To expand copybook in source code
Reply with quote

if you using endevor tool , u can use the footprint option to expand the copybook in the source code.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Thu Sep 20, 2007 10:47 am    Post subject:
Reply with quote

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
View user's profile Send private message
anilboke

New User


Joined: 08 May 2006
Posts: 3

PostPosted: Thu Sep 20, 2007 10:58 am    Post subject:
Reply with quote

type TSO CBX on command line and place cursor at copy book name and press Enter. This works in our shop.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Mon Sep 24, 2007 10:36 am    Post subject:
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Sep 24, 2007 10:42 am    Post subject:
Reply with quote

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
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Mon Sep 24, 2007 10:50 am    Post subject:
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Sep 24, 2007 10:51 am    Post subject:
Reply with quote

You did Browse or Listing?
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Mon Sep 24, 2007 10:53 am    Post subject:
Reply with quote

I did Browse buddy
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Sep 24, 2007 10:58 am    Post subject:
Reply with quote

Should I assume you did Listing
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Mon Sep 24, 2007 11:02 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts Need Help in understanding what is th... mainakdalal PL/I & Assembler 9 Mon Oct 03, 2016 8:03 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm


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