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
 

 

Quick3270 Macro is giving error for all VBA Key Words

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Quick3270 Macro is giving error for all VBA Key Words
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: 8593
Location: Back in jolly old England

PostPosted: Mon Dec 08, 2014 3:34 pm    Post subject:
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    Post subject: Reply to: Quick3270 Macro is giving error for all VBA Key Wo
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 09, 2014 1:25 pm    Post subject: Reply to: Quick3270 Macro is giving error for all VBA Key Wo
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) :

http://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    Post subject: Reply to: Quick3270 Macro is giving error for all VBA Key Wo
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts IDMS/DC-COBOL program - SNAP error wh... rakeshsekar1987 IDMS/ADSO 5 Tue Sep 13, 2016 8:28 pm


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