Convert comp-2 variable to normal form



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Convert comp-2 variable to normal form

Postby ansh_4702 » Tue Sep 01, 2009 4:29 pm

Hi ,

I am not geting how can I convert comp-2 variable field into a normal variable field. The task is to convert following defination of COMP-2 field into a normal variable defination:
02 A COMP-2
Now I have to code it in a manner that it should not have any of the COMP-2 variables.
Please advice.
ansh_4702
 
Posts: 33
Joined: Thu Jan 08, 2009 2:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Convert comp-2 variable to normal form

Postby enrico-sorichetti » Tue Sep 01, 2009 4:47 pm

normal variable field


any variable in COBOL is a normal variable field :evil:

please define what You would define as normal variable field...
naturally according to Your organization dictionary /vocabulary/jargon 8-)
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Convert comp-2 variable to normal form

Postby ansh_4702 » Tue Sep 01, 2009 5:57 pm

Hi,

Normal meaning without use of COMP-2. :!:
ansh_4702
 
Posts: 33
Joined: Thu Jan 08, 2009 2:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Convert comp-2 variable to normal form

Postby dick scherrer » Thu Sep 03, 2009 12:53 am

Hello,

What do you need for the target field? How will this "receiving" field be used?

You've provided basically nothing that can be used to help you. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post