× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



hi,

try this

STRING "I-"""       DELIMITED BY SIZE      INTO WS-DATAQ-VALUE 

Regards
Premnath N





cobol400-l-request@xxxxxxxxxxxx 
Sent by: cobol400-l-bounces@xxxxxxxxxxxx
04/01/2005 11:30 PM
Please respond to
cobol400-l@xxxxxxxxxxxx


To
cobol400-l@xxxxxxxxxxxx
cc

Subject
COBOL400-L Digest, Vol 3, Issue 2






Send COBOL400-L mailing list submissions to
                 cobol400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
                 http://lists.midrange.com/mailman/listinfo/cobol400-l
or, via email, send a message with subject or body 'help' to
                 cobol400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
                 cobol400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of COBOL400-L digest..."


Today's Topics:

   1.  String problems (geir.kildal@xxxxxxxxxxxxxxx)
   2. R: [COBOL400-L] String problems (Finucci Domenico)
   3. RE:  String problems (Jay Sulzmann)
   4. R: [COBOL400-L] String problems (Roy Restuccia)
   5. Re: R: [COBOL400-L] String problems (geir.kildal@xxxxxxxxxxxxxxx)


----------------------------------------------------------------------

message: 1
date: Tue, 4 Jan 2005 14:35:46 +0100
from: geir.kildal@xxxxxxxxxxxxxxx
subject: [COBOL400-L] String problems

Hello, all.

Can anyone tell me how to string a " into a field?  The " is used itself 
in the string command, so if I try STRING " " " delimited by size etc, the 

compiler/editor will not accept it.

Any good ideas? 


Mvh.

Geir Kildal
TietoEnator AS
Tlf . . : (+47) 611 73805
Mob. : (+47) 90 10 13 16
eMail: geir.kildal@xxxxxxxxxxxxxxx


------------------------------

message: 2
date: Tue, 4 Jan 2005 14:39:37 +0100
from: "Finucci Domenico" <Domenico.Finucci@xxxxxxxxxxxx>
subject: R: [COBOL400-L] String problems

01 w-that-damned pic x value '"'.

String w-that-damned .....

or 
String '"' .....
Sincerely

                 Domenico Finucci
                 Sistemi informativi (SVI/SSI)
                  Tel. + 39 02-43.01.2494, cell. 348 - 59.53.279
                  Fiditalia S.p.A. via G. Silva, 34 - 20149 Milano
                 E-mail: domenico.finucci@xxxxxxxxxxxx 
> Sito internet: www.fiditalia.it
> 


-----Messaggio originale-----
Da: geir.kildal@xxxxxxxxxxxxxxx [mailto:geir.kildal@xxxxxxxxxxxxxxx]
Inviato: martedì 4 gennaio 2005 14.36
A: COBOL Programming on the iSeries/AS400
Oggetto: [COBOL400-L] String problems


Hello, all.

Can anyone tell me how to string a " into a field?  The " is used itself 
in the string command, so if I try STRING " " " delimited by size etc, the 

compiler/editor will not accept it.

Any good ideas? 


Mvh.

Geir Kildal
TietoEnator AS
Tlf . . : (+47) 611 73805
Mob. : (+47) 90 10 13 16
eMail: geir.kildal@xxxxxxxxxxxxxxx
_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.




------------------------------

message: 3
date: Tue, 4 Jan 2005 08:43:22 -0500
from: "Jay Sulzmann" <JSulzmann@xxxxxxxxxxx>
subject: RE: [COBOL400-L] String problems

Domenico,

Code the hex value into a Working-Storage variable and then String that 
named variable delimited by size.

Cheers -- Jay
 

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx 
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Finucci Domenico
Sent: Tuesday, January 04, 2005 8:40 AM
To: COBOL Programming on the iSeries/AS400
Subject: R: [COBOL400-L] String problems

01 w-that-damned pic x value '"'.

String w-that-damned .....

or 
String '"' .....
Sincerely

                 Domenico Finucci
                 Sistemi informativi (SVI/SSI)
                  Tel. + 39 02-43.01.2494, cell. 348 - 59.53.279
                  Fiditalia S.p.A. via G. Silva, 34 - 20149 Milano
                 E-mail: domenico.finucci@xxxxxxxxxxxx 
> Sito internet: www.fiditalia.it
> 


-----Messaggio originale-----
Da: geir.kildal@xxxxxxxxxxxxxxx [mailto:geir.kildal@xxxxxxxxxxxxxxx]
Inviato: martedì 4 gennaio 2005 14.36
A: COBOL Programming on the iSeries/AS400
Oggetto: [COBOL400-L] String problems


Hello, all.

Can anyone tell me how to string a " into a field?  The " is used itself 
in the string command, so if I try STRING " " " delimited by size etc, the 

compiler/editor will not accept it.

Any good ideas? 


Mvh.

Geir Kildal
TietoEnator AS
Tlf . . : (+47) 611 73805
Mob. : (+47) 90 10 13 16
eMail: geir.kildal@xxxxxxxxxxxxxxx
_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.


_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.






------------------------------

message: 4
date: Tue, 4 Jan 2005 14:47:18 +0100
from: "Roy Restuccia" <roy.restuccia@xxxxxxxxx>
subject: R: [COBOL400-L] String problems

Hi Geir,
you have 2 option depending on the string delimited you use in your 
program.
If the delimiter is " then the correct statement is:
                 STRING """" DELIMITED BY SIZE INTO FIELD-A.
Otherwise if the delimiter is ' then the correct statement is:
                 STRING '"' DELIMITED BY SIZE INTO FIELD-A.

Remember that you can use any combination of the delimiters " or ' in a
given cobol statement.

Bye, Roy.


-----Messaggio originale-----
Da: cobol400-l-bounces@xxxxxxxxxxxx 
[mailto:cobol400-l-bounces@xxxxxxxxxxxx]
Per conto di geir.kildal@xxxxxxxxxxxxxxx
Inviato: martedì 4 gennaio 2005 14.36
A: COBOL Programming on the iSeries/AS400
Oggetto: [COBOL400-L] String problems

Hello, all.

Can anyone tell me how to string a " into a field?  The " is used itself 
in the string command, so if I try STRING " " " delimited by size etc, the 

compiler/editor will not accept it.

Any good ideas? 


Mvh.

Geir Kildal
TietoEnator AS
Tlf . . : (+47) 611 73805
Mob. : (+47) 90 10 13 16
eMail: geir.kildal@xxxxxxxxxxxxxxx
_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.





------------------------------

message: 5
date: Tue, 4 Jan 2005 14:51:54 +0100
from: geir.kildal@xxxxxxxxxxxxxxx
subject: Re: R: [COBOL400-L] String problems

Thanks Domenico.

The single ' worked together wit the double " as long as I used them 
consequently thru the whole STRING-sentence(it was long...)


Mvh.

Geir Kildal
TietoEnator AS
Tlf . . : (+47) 611 73805
Mob. : (+47) 90 10 13 16
eMail: geir.kildal@xxxxxxxxxxxxxxx




"Finucci Domenico" <Domenico.Finucci@xxxxxxxxxxxx> 
Sent by: cobol400-l-bounces@xxxxxxxxxxxx
04.01.2005 14:39
Please respond to
COBOL Programming on the iSeries/AS400 <cobol400-l@xxxxxxxxxxxx>


To
"COBOL Programming on the iSeries/AS400" <cobol400-l@xxxxxxxxxxxx>
cc

Subject
R: [COBOL400-L] String problems






01 w-that-damned pic x value '"'.

String w-that-damned .....

or 
String '"' .....
Sincerely

                 Domenico Finucci
                 Sistemi informativi (SVI/SSI)
                  Tel. + 39 02-43.01.2494, cell. 348 - 59.53.279
                  Fiditalia S.p.A. via G. Silva, 34 - 20149 Milano
                 E-mail: domenico.finucci@xxxxxxxxxxxx 
> Sito internet: www.fiditalia.it
> 


-----Messaggio originale-----
Da: geir.kildal@xxxxxxxxxxxxxxx [mailto:geir.kildal@xxxxxxxxxxxxxxx]
Inviato: martedì 4 gennaio 2005 14.36
A: COBOL Programming on the iSeries/AS400
Oggetto: [COBOL400-L] String problems


Hello, all.

Can anyone tell me how to string a " into a field?  The " is used itself 
in the string command, so if I try STRING " " " delimited by size etc, the 


compiler/editor will not accept it.

Any good ideas? 


Mvh.

Geir Kildal
TietoEnator AS
Tlf . . : (+47) 611 73805
Mob. : (+47) 90 10 13 16
eMail: geir.kildal@xxxxxxxxxxxxxxx
_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.


_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.




------------------------------

_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) digest 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.



End of COBOL400-L Digest, Vol 3, Issue 2
****************************************


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.