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

Dynamic SQL in Easytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Huzefa

New User


Joined: 05 Dec 2006
Posts: 83
Location: Bangalore

PostPosted: Tue Sep 18, 2007 11:00 am
Reply with quote

Hi All,
I know the concept of dynamic SQL in Easytrieve.

I have a certain doubt in creating a dynamic SQL where the Table name is dynamic

For Ex: I tried the below quer and it gave me an error

SELECT * FROM :table-name INTO :ws-date, :ws-name, :ws-age WITH UR:

This gives me an -104 error saying table name not specified.

Can someone help to get this solution or suggest sny alternate solution
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 631
Location: Wisconsin

PostPosted: Tue Sep 18, 2007 5:46 pm
Reply with quote

You can't do this.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Any way to prevent dynamic allocation? DFSORT/ICETOOL 6
No new posts Overwriting SSN Digits in Easytrieve ... CA Products 0
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
Search our Forums:


Back to Top