MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to Overlay a Character with Packed Decimal using OUTREC

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
csub797
Beginner


Joined: 30 Aug 2006
Posts: 2
Topics: 1

PostPosted: Mon Apr 23, 2007 10:32 pm    Post subject: How to Overlay a Character with Packed Decimal using OUTREC Reply with quote

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
View user's profile Send private message
csub797
Beginner


Joined: 30 Aug 2006
Posts: 2
Topics: 1

PostPosted: Mon Apr 23, 2007 11:07 pm    Post subject: How to Overlay a Character with Packed Decimal using OUTREC Reply with quote

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
View user's profile Send private message
NorthernDancer
Beginner


Joined: 01 May 2007
Posts: 44
Topics: 22
Location: DOWNTOWN BUFFALO, NY

PostPosted: Tue May 01, 2007 12:36 pm    Post subject: Reply with quote

Embarassed HOMEWORK ASSIGNMENT, N'EST CE PAS ???
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue May 01, 2007 12:37 pm    Post subject: Reply with quote

NorthernDancer wrote:
Embarassed 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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group