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: 2433
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 RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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