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
 

 

Unstring command in Easytrieve and copy book usage.

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

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Thu Nov 15, 2007 2:02 am    Post subject: Unstring command in Easytrieve and copy book usage.
Reply with quote

Hi,

Is it possible to use unstring command in Easytrieve?Is it possible to use copybook in Easytrieve?
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Nov 15, 2007 3:00 am    Post subject:
Reply with quote

I don't think 'unstring' is available, but copybooks are....
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Nov 15, 2007 3:05 am    Post subject:
Reply with quote

Your copybook must have Easytrieve code not COBOL code in it.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Nov 15, 2007 3:17 am    Post subject:
Reply with quote

Douglas Wilder wrote:
Your copybook must have Easytrieve code not COBOL code in it.
Not quite true, there is a way to combine both into one copybook.....
Back to top
View user's profile Send private message
Delip

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Thu Nov 15, 2007 3:23 am    Post subject: Reply to: Unstring command in Easytrieve and copy book usage
Reply with quote

I want to have file variables defined in my copybook.How to include this in Easytrieve program?
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Nov 15, 2007 4:17 am    Post subject:
Reply with quote

How you include it depends on how you store the source code. We use Panvalet so we include it with "++include member" If you store it in a PDS you could include it as a macro with "%member".
Back to top
View user's profile Send private message
Delip

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Thu Nov 15, 2007 11:06 am    Post subject: Reply to: Unstring command in Easytrieve and copy book usage
Reply with quote

Hi ,
I tried using %membername ,but it is giving an error that it's not able to open the PDS . Is there anything in the jcl we need to do for including copybook.
I had tried with this one .
//EZTMAC DD DSN= PDS,DISP=SHR
But this is not working ,can anyone suggest for this ?
Back to top
View user's profile Send private message
suryababu

New User


Joined: 08 Mar 2007
Posts: 1
Location: Hyderabad

PostPosted: Wed Nov 21, 2007 9:36 am    Post subject:
Reply with quote

Hi

You must specify in JCL like this

//SYSIN DD *
LIST ON NOMACROS
%copybook name
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 UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts )SEL and )ENDSEL usage cvnlynn TSO/ISPF 4 Thu Jun 15, 2017 1:15 am
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am


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