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

Quick3270 Macro is giving error for all VBA Key Words


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Tanuz

New User


Joined: 04 Dec 2014
Posts: 5
Location: India

PostPosted: Sat Dec 06, 2014 8:41 am
Reply with quote

Hi,

I have a requirement to checkout 1000 components in Changeman and then stage those components from PDS.

For this requirement I am trying to code a macro. We are using Quick3270 Emulator Version 3.37. According to manual of Quick3270 it says since Version 3.10 it supports macros.

But all the VBA key words like "Dim, FreeFile, etc." are giving either "Syntax Error" or "Variable not Initialized" as error message.

Please let me know why VBA key words are not getting translated in Quick3270. Do we have to configure some thing in the Quick3270 for macros to run?

Is there any other approach to automate the process?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Dec 08, 2014 3:34 pm
Reply with quote

Are there any restrictions as to which language these macros can be written in ?
Back to top
View user's profile Send private message
Tanuz

New User


Joined: 04 Dec 2014
Posts: 5
Location: India

PostPosted: Tue Dec 09, 2014 10:22 am
Reply with quote

Hi expat,

There is no restriction on language, it should be compatible with IBM Z/OS.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 09, 2014 1:25 pm
Reply with quote

"The Quick3270 macro language syntax is similar to VBA."

see : http://www.dn-computing.com/features.htm

and check your macro('s) with (pdf alert) :

www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CCsQFjAB&url=http%3A%2F%2Fwww.dn-computing.com%2Fdownload%2FQuick3270%2520Macro.pdf&ei=YqmGVLSmCoSrUduFhLAF&usg=AFQjCNHZ8cf1kz-ctBBvjS7PjIKSI3xXeQ&sig2=Y5wuhpGZlkoOQXYs7ZBakg&bvm=bv.81449611,d.d24
Back to top
View user's profile Send private message
Tanuz

New User


Joined: 04 Dec 2014
Posts: 5
Location: India

PostPosted: Tue Dec 09, 2014 2:52 pm
Reply with quote

Hi PeterHolland,

I am also referring to same manual for coding macro, but I it’s not getting executed.

The macro created using "Record" option is working fine, but when I edited the macro file with the FILE I/O example of manual it’s giving error.

Please provide me a sample example to read text file using Macro.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top