View previous topic :: View next topic |
Author |
Message |
csub797 Beginner
Joined: 30 Aug 2006 Posts: 2 Topics: 1
|
Posted: Mon Apr 23, 2007 10:32 pm Post subject: How to Overlay a Character with Packed Decimal using OUTREC |
|
|
Hi,
I need to first overlay a Packed decimal field of 2 bytes with a character 'SJ' and after doing my validations I need to revert it back to the original.I did the overlay from PD to character by the following ,
SORT FIELDS=COPY
OUTREC OVERLAY=(3527:C'SJ')
Now how do I Overlay the character back to Packed decimal format of value '0'.
Please advise.
Regards,
C.Subramanian. |
|
Back to top |
|
 |
csub797 Beginner
Joined: 30 Aug 2006 Posts: 2 Topics: 1
|
Posted: Mon Apr 23, 2007 11:07 pm Post subject: How to Overlay a Character with Packed Decimal using OUTREC |
|
|
Hi,
I got the desired result by just giving the fields in OUTREC which i rquired , thereby removing the unwanted Mnemonic and retained the original PD values.
Regards,
C.Subramanian |
|
Back to top |
|
 |
NorthernDancer Beginner
Joined: 01 May 2007 Posts: 44 Topics: 22 Location: DOWNTOWN BUFFALO, NY
|
Posted: Tue May 01, 2007 12:36 pm Post subject: |
|
|
HOMEWORK ASSIGNMENT, N'EST CE PAS ??? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue May 01, 2007 12:37 pm Post subject: |
|
|
NorthernDancer wrote: | HOMEWORK ASSIGNMENT, N'EST CE PAS ??? |
atleast OP has comeback and posted a solution on his own which is commendable _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|