Macro debugging



Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

Macro debugging

Postby lassevc » Fri Jul 13, 2012 1:23 am

Hi

I'm using Personal Communication, where I have programmed several different macros. They are all programmed in VBScript and starts with the following lines:

[PCOMM SCRIPT HEADER]
LANGUAGE=VBSCRIPT
DESCRIPTION=NAME
[PCOMM SCRIPT SOURCE]
OPTION EXPLICIT
autECLSession.SetConnectionByName(ThisSessionName)

But I often get an error and the program crashes.
How can I fix it?

It seems to me that the macro can't start at all, even though there isn't anything else than a simple MsgBox.
The funny part is that recorded macros in the standard programming language never debugs.

I really hope you are able to help med and all the other users.

Kind regards
Lasse, Denmark
lassevc
 
Posts: 1
Joined: Thu Jul 12, 2012 2:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Macro debugging

Postby NicC » Fri Jul 13, 2012 1:50 am

This is a mainframe forum - you are talking about PCs and Visual Basic, or, at least, a variant of. suggest you try and find a VB forum or PComm forum.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Macro debugging

Postby dick scherrer » Fri Jul 13, 2012 7:03 am

Hello and welcome to the forum,

As mentioned, we are primarily a mainframe forum. However; several of our users use Pcomm as their terminal emulator and maybe one of them will see your post. Once upon a time, i did. . .

To get help here (or on some other forum), you will need to post better than "it didn't work" - which is probably the biggest waste of time on a forum. You have to tell what error messages(s) were presented or what abend code was generated or anything else that might help someone help you.

Suggest you consider opening an issue with Pcomm Support.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to All other Mainframe Topics

 


  • Related topics
    Replies
    Views
    Last post