Skip to main content

I have a need to take the contents of a queue dump it to Notepad when the user requires it.  As opposed to multiple screen displays or printing the contents. The user wants the queue contents in notepad. I understand how to call and open notepad but not how to write to notepad. Any suggestions??


#CICS
#notepad
#queue
#EnterpriseServer
#Dump

I have a need to take the contents of a queue dump it to Notepad when the user requires it.  As opposed to multiple screen displays or printing the contents. The user wants the queue contents in notepad. I understand how to call and open notepad but not how to write to notepad. Any suggestions??


#CICS
#notepad
#queue
#EnterpriseServer
#Dump

The simplest approach is to write the data to a plain-text temporary file, and execute Notepad with the file path as a parameter.

I don't believe Notepad supports DDE, so if you must push the data into a running Notepad instance, you're probably looking at sending WM_PASTE messages, injecting keyboard messages, or something even uglier. Notepad is not designed for this purpose. (I know - good luck convincing the end user of that.)


I have a need to take the contents of a queue dump it to Notepad when the user requires it.  As opposed to multiple screen displays or printing the contents. The user wants the queue contents in notepad. I understand how to call and open notepad but not how to write to notepad. Any suggestions??


#CICS
#notepad
#queue
#EnterpriseServer
#Dump

Ya. The only thing I could come up with was to write to an external TDQ, close the queue, then do a call to execute a VB or C# program to convert it to word or something else other than notepad because notepad is very limited. Ok. Thanks.


I have a need to take the contents of a queue dump it to Notepad when the user requires it.  As opposed to multiple screen displays or printing the contents. The user wants the queue contents in notepad. I understand how to call and open notepad but not how to write to notepad. Any suggestions??


#CICS
#notepad
#queue
#EnterpriseServer
#Dump

Ya. The only thing I could come up with was to write to an external TDQ, close the queue, then do a call to execute a VB or C# program to convert it to word or something else other than notepad because notepad is very limited. Ok. Thanks.