Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I send a specifc string...

Status
Not open for further replies.

TheRealDeal

Technical User
Nov 16, 2001
187
US
I am needing to send a very specific character string to a mainframe system and I'm not sure how to put it together. So here goes, it needs to be:

PUT F:\APPS\GL\GL.TXT 'P000220.Y2K.M01220D4.D045(+1)'

I will need to press the Enter Key after the string is complete. Also, the single quotes must be part of the above string. Help.
 
As long as you surround it by double quotes it should be ok. It should include the single quotes within the string... I just tried the following & the string was generated exatly as you showed above:

Dim s as String
s= "PUT F:\APPS\GL\GL.TXT 'P000220.Y2K.M01220D4.D045(+1)'" James Goodman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top