Jump to content
Macro Express Forums

IBM 3270 copy not writing to variable


Trixie

Recommended Posts

Hi,

 

I'm hoping the pros can help me with this one.

 

I have a macro that is running that basically copies the entire screen (looking for the screen to change...IBM 3270 is sooo slow) and save the screen data to my T1 variable. It looks for data in a specific position by column/row and when that data changes the macro moves on to the next command.

 

I have one user who runs macros that call the 'change screen' macro whose computer does not seem to be storing the screencap data to the T1 variable, so my error handling kicks in, even though her screen has refreshed. Using Macro Stop and debugging I can tell that the variable is not being written to the T1 field.

 

Several others use the code, myself included, with no problem.

 

Is this a timing issue (preferences are set the same) or potentially something else?

 

Thanks~

Link to comment
Share on other sites

A timing problem is certainly possible. There are a number of threads on the forum about clipboard-copy issues and solutions to those issues. An easy way to diagnose this would be, on that one user's PC, to set the clipboard delay to a very high value temporarily, say 3000 ms (3 seconds). If that makes her PC work right (albeit slowly) then you have found the problem.

 

Does the problem PC have the same 3270 emulator brand and version as the PCs that are working?

Link to comment
Share on other sites

A timing problem is certainly possible. There are a number of threads on the forum about clipboard-copy issues and solutions to those issues. An easy way to diagnose this would be, on that one user's PC, to set the clipboard delay to a very high value temporarily, say 3000 ms (3 seconds). If that makes her PC work right (albeit slowly) then you have found the problem.

 

Does the problem PC have the same 3270 emulator brand and version as the PCs that are working?

Same versioning on all applications. And I believe she even has a newer laptop...mine is probably a year or two older.

 

I will try your solution on Monday and see if it yields results.

 

Thanks for your response!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...