Doing a straight display without moving or changing the field at all shows 00511- which means that the file is not being read correctly by COBOL? I cant get mediafire to display my screenshot of the file, but the value in the file looks like - 0050{
Cobol does a read and then a display without...
Ok, I am working on a HP-UX machine (if that matters)
I read the record and for a test did this:
i-fine-amt pic S999V99
sum-amt-vl pic 9(3)v99
move i-fine-amt to sum-amt-vl.
display i-fine-amt " " sum-amt-vl.
The display is:
00511- 00511
How can i-fine-amt = 00511- if defined as...
I have a input file with values defined as S999V99. In the input file one field shows as
0050{
I move this to a field defined as S999V99
I display this field in my program and it looks like 00511-
If I say sign is trailing, I get the same result. How do I deal with this?
Thanks
OK, I got it...
I did this
01 ws-hold-fine2 pic 999.99.
01 ws-hold-fine3 pic x(6).
Then I did
move ws-hold-fine to ws-hold-fine2.
if ws-hold-fine2 (1:1) = '0'
move ws-hold-fine2 (2:5) to ws-hold-fine3
else...
Maybe I am missing something?
01 ws-hold-fine2 pic zz9.99.
Say the value is 10.00
The below code will look like
AAAAA|SDSSSS| 10.00|
The spaces is killing me!!! THANKS
move zeros to ws-hold-fine2.
move ws-hold-fine to ws-hold-fine2...
How can I do this? I have a value defined pic 999.99 (or even zz9.99). If the value is 60.00 I need to string the value as
|60.00|
How do I do that in my string command? I always get |060.00| or | 60.00|
Thanks so much!
Thanks for the replies. I was able to get it to work with the following code:
move 0 to ws-pos1.
unstring c-addr delimited by ' '
into pacc-house-no count in ws-pos1.
add 1 to ws-pos1.
unstring c-addr delimited by ' '
into...
Here is my problem.
I have a file the field in question looks like this
13 main st
134 red rd
2 main road
952A north land
I want the 1st part in one field and the 2nd in another. I can not do unstring delimited by ' ' because the second field will only have the 1st word.
I then tried this...
Thanks for your help as I think I know what happened. My son was using Emule (P2P) I have read now that some people with ZA have had the same problem. It seems that some emule users set the P2P to use 'email' ports and ZA mistakes a request for a file as outgoing mail...
Thanks for your help...
The last couple of days, zonealarm is alerting me that ccapp is trying to transmit email to an ip in brazil
ANY IDEAS
Msg =
email client program
Symantec User session is trying to transmit emails
ccapp.exe
destination = 200.195.88.163:SMTP
I have scanned with SAV, a squared, trojan hunter...
I have under fily types, all types checked with no exclusions, also to scan compressed files. I believe these were the default settings. the thottle is low (I never changed it) I have found (symantec website) that others have this problems as well (2-3 people I saw) But no response on what...
I installed this and when I run a FULL scan (all files) it is taking less than 7 minutes. On version 9 it took about a 1/2 hour..... I have confirmed that I am scanning ALL files. I also ran a custom scan just to make sure BOTH drives were to be scanned and that also took less than 7 minutes...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.