View previous topic :: View next topic
|
Author |
Message |
Delip
New User
Joined: 13 Sep 2007 Posts: 46 Location: Bangalore
|
|
|
|
Hi,
Is it possible to use unstring command in Easytrieve?Is it possible to use copybook in Easytrieve? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I don't think 'unstring' is available, but copybooks are.... |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
Your copybook must have Easytrieve code not COBOL code in it. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
Delip
New User
Joined: 13 Sep 2007 Posts: 46 Location: Bangalore
|
|
|
|
I want to have file variables defined in my copybook.How to include this in Easytrieve program? |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
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 |
|
|
Delip
New User
Joined: 13 Sep 2007 Posts: 46 Location: Bangalore
|
|
|
|
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 |
|
|
suryababu
New User
Joined: 08 Mar 2007 Posts: 1 Location: Hyderabad
|
|
|
|
Hi
You must specify in JCL like this
//SYSIN DD *
LIST ON NOMACROS
%copybook name |
|
Back to top |
|
|
|