IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we edit the comp-3 value in xpeditor


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
deepthib

New User


Joined: 15 Nov 2006
Posts: 2
Location: Bangalore

PostPosted: Wed Aug 22, 2007 3:20 pm
Reply with quote

can we edit the comp-3 value in xpeditor?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Aug 22, 2007 3:56 pm
Reply with quote

Deepthi,
Quote:
can we edit the comp-3 value in xpeditor?

Did you try?
Back to top
View user's profile Send private message
deepthib

New User


Joined: 15 Nov 2006
Posts: 2
Location: Bangalore

PostPosted: Wed Aug 22, 2007 4:19 pm
Reply with quote

Actually it will display in Hexe deciaml format. so can you clarify the same.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Aug 22, 2007 7:52 pm
Reply with quote

Quote:
Actually it will display in Hexe deciaml format. so can you clarify the same.


do PEEK HEX and edit the numeric value
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Tue Aug 28, 2007 1:49 am
Reply with quote

It will not display in HEX

It will display just as a decimal value in the xpeditor during your debug.
you can edit the comp-3 in xpeditor screen.

15 KEY1-ACCOUNT > +00000004566 PACKED
15 KEY1-DEPOSIT-NUMBER > ?????? INVALID PACKED
15 KEY1-BANK > ???? INVALID PACKED
15 KEY1-RECORD-CODE > ???? INVALID PACKED


===
15 KEY1-BANK PIC S9(3) COMP-3.
15 KEY1-BRANCH PIC S9(5) COMP-3.
15 KEY1-ACCOUNT PIC S9(11) COMP-3.
15 KEY1-DEPOSIT-NUMBER PIC S9(5) COMP-3.
15 KEY1-RECORD-CODE PIC S9(3) COMP-3.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts Need help to resolve a hard edit COBOL Programming 8
This topic is locked: you cannot edit posts or make replies. Need help to resolve a hard edit COBOL Programming 4
Search our Forums:

Back to Top