473,320 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

cobol2visual basic

FET
Can some one help me to translate this cobol code to visual basic code.

01 PCHR.
03 PC PIC 99 COMP OCCURS 8.
01 PCHC REDEFINES PCHR PIC9(18) COMP.
01 PCH PIC 9(18) COMP VALUE 0.

Thanks
regards,
Fet
Jul 21 '05 #1
3 1146
Fet,

You cannot, VBNet gives you no change to reuse memory as another type.
Altough this is a way of using it from the time when processors where slow
comparing to today and memory was very expensive. Now it is just converted
in another type in anohter place.

I hope this helps?

Cor
"FET" <FE*@discussions.microsoft.com>

...
Can some one help me to translate this cobol code to visual basic code.

01 PCHR.
03 PC PIC 99 COMP OCCURS 8.
01 PCHC REDEFINES PCHR PIC9(18) COMP.
01 PCH PIC 9(18) COMP VALUE 0.

Thanks
regards,
Fet

Jul 21 '05 #2
Dohh

When this is in record you can of course use that anyway, because it is a
string, which can be processed as well with the classic
microsoft.visualbasic functions as by instance MID or the base String
instrucions, as by instance substring.

I hope this helps?

Cor
Jul 21 '05 #3
FET
Cor thanks
I will try it.

Fet

"Cor Ligthert" wrote:
Dohh

When this is in record you can of course use that anyway, because it is a
string, which can be processed as well with the classic
microsoft.visualbasic functions as by instance MID or the base String
instrucions, as by instance substring.

I hope this helps?

Cor

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: pix | last post by:
Hello, I would like to start learning Visual Basic, and I was wondering if there are any recomendations to any ebooks, or actual books for that matter. I have my eye on this book by John Smiley,...
2
by: AK | last post by:
I don't want any part of the previous discussion on Visual Basic versus Visual Basic.Net. My query is about using Visual Basic for Applications; and whether it is better to use Visual Basic 6 or...
7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
56
by: Dave Vandervies | last post by:
I just fixed a bug that some of the correctness pedants around here may find useful as ammunition. The problem was that some code would, very occasionally, die with a segmentation violation...
3
by: sefe dery | last post by:
hi ng, i try to create a asp.net 1.0 website on windows server 2003(Servername: ServerX) with iis 6.0. PROBLEM: The user should login with his windows credentials in basic.aspx and...
3
by: FET | last post by:
Can some one help me to translate this cobol code to visual basic code. 01 PCHR. 03 PC PIC 99 COMP OCCURS 8. 01 PCHC REDEFINES PCHR PIC9(18)...
10
by: trippeer | last post by:
I have the source code to an old BASIC program that a friend of mine would like to run online. I am a beginner at JS, but I think that it would be a good choice for the project. My background is in...
97
by: Master Programmer | last post by:
An friend insider told me that VB is to be killled off within 18 months. I guess this makes sence now that C# is here. I believe it and am actualy surprised they ever even included it in VS 2003 in...
6
by: Simon Walsh | last post by:
I'm an Electronics student in college and I'm currently working on a project. I was given a circuit diagram for my project, from which I had to design a printed circuit board to be sent off and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.