IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Unstring command in Easytrieve and copy book usage.


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Thu Nov 15, 2007 3:00 am
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
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: 3156
Location: Tucson AZ

PostPosted: Thu Nov 15, 2007 3:17 am
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top