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 

Search found 3 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: Left justified alphanumeric to right justified numeric
SathishKrishna

Replies: 2
Views: 5196

PostForum: Application Programming   Posted: Fri Dec 18, 2015 5:56 am   Subject: Left justified alphanumeric to right justified numeric
I need to convert Numbers stored as Text datatype(left aligned) ranging from 2 to 4 digits to Numeric format(Right aligned) padded with zeros in COBOL.

For eg,
Field1(Text left aligned) ...
  Topic: Rewriting VB record in COBOL
SathishKrishna

Replies: 2
Views: 2966

PostForum: Application Programming   Posted: Sun Jun 28, 2015 2:32 pm   Subject: Rewriting VB record in COBOL
Thanks for ur reply. I just modified the read process in code and it worked fine.
  Topic: Rewriting VB record in COBOL
SathishKrishna

Replies: 2
Views: 2966

PostForum: Application Programming   Posted: Sat Jun 27, 2015 4:11 pm   Subject: Rewriting VB record in COBOL
I have a VB file with lrecl of 32500. I would like to update 2 digit sequence no @13th position for duplicate records (first 12 bytes as key).

When i execute the program, first record is updated wi ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group