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: 45
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: 45
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: 45
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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