Member Login:
e-mail:
password:
Register
Forgot Password
Search:
Entire Site
IT Answers
IT Blogs
Site FAQ
Home
>
IT Answers
>
AS/400
> concat char and numeric field in rpg400
Anderson123
840 pts.
concat char and numeric field in rpg400
RPG/400
,
RPG/400 Field Concatenation
how to concat a char and numeric field in rpg400.
ASKED:
Jan 2, 2009 1:14 PM GMT
UPDATED:
January 4, 2009 1:52:10 AM GMT
Discuss
 
Add to Watchlist
RELATED QUESTIONS
How to convert a Date given in Char format to numeric format in RPG of As400.
decimal data error
validation
How to move an AS/400 numeric field to an alphanumeric field without disturbing the value in it?
Numeric to character conversion in AS/400
leading zeros on numeric
How to use "Program-Described-File" for converting an AS/400 numeric field into Char-field
Conversion of Char to (Negative) Numeric
Passing parameters RPG-CL-RPG
AS400 menu options help creation
Philpl1jb
36,410 pts.
Answer Wiki:
eval newfield = charFld + %editc(numFld,'X');
The X editc renders the numeric as a character that looks like the numeric
- so 43 in a 6,0 format would be '000043'
Phil
Last Wiki Answer Submitted:
Jan 4, 2009 1:52 AM (GMT)
by
Philpl1jb
36,410 pts.
To see other answers submitted to the Answer Wiki
View Answer History
.
Answer Wiki:
eval newfield = charFld + %editc(numFld,'X'); The X editc renders the numeric as a character that looks like the numeric - so 43 in a 6,0 format would be '000043' Phil
Please complete the following information:
REGISTER / LOG-IN TO ANSWER QUESTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in ITKnowledgeExchange. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the IT Knowledge Exchange
Terms and Conditions.
hidden modal window
If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States.
RSS - Discussions
Help
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Please complete the following information:
REGISTER / LOG-IN TO DISCUSS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Submit your e-mail address below to continue
E-mail: 
E-mail:
Handle:
Password:
Forgot Password?
Create Handle:
Your handle identifies you in ITKnowledgeExchange. Max 30 char.
Create Password:
Confirm Password:
Yes, I'd like to receive the IT Knowledge Exchange Community Newsletter
Yes, I agree to the IT Knowledge Exchange
Terms and Conditions.
hidden modal window
If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States.
Ask a Question
Question Title:
(150 char. limit.)
Question:
(Please be specific.)
Tags:
(Separate each tag with a comma.)
What is a Tag?
Browse IT Answers by Topic
AS/400
Business Intelligence
Channel
CIO
CRM
Database
DataCenter
Development
Exchange
Linux
Lotus Domino
Microsoft Windows
Mobile
Networking
Oracle
SAP
Security
SQL Server
Storage
Virtualization
VoIP
Windows Server
>>
VIEW ALL TAGS