Geeks Talk

Prepare for your Next Interview




COBOL - insert a '0' at the second last place in the account field

This is a discussion on COBOL - insert a '0' at the second last place in the account field within the MainFrame forums, part of the Software Development category; Hi, In COBOL, I want to insert a '0' at the second last place in the account field. My account field is 11 bytes and I need to make it ...


Go Back   Geeks Talk > Software Development > MainFrame

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-11-2007
Junior Member
 
Join Date: Jan 2007
Location: India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Anamika.23 is on a distinguished road
COBOL - insert a '0' at the second last place in the account field

Hi,

In COBOL, I want to insert a '0' at the second last place in the account field. My account field is 11 bytes and I need to make it to 12 bytes in order to match certain criteria. How can I do this?

Eg- Suppose my the value of my account field is "AGFF1001002" (11 bytes) and I have to make it 12bytes by adding a '0' just before the digit '2'

Thanks in advance

Regards,
Anamika
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Software Development > MainFrame


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Add a new column to a table and insert values Ajit Kumar Maharatha Oracle 10 10-10-2008 09:59 AM
Field, single field and multivalue field JobHelper Seibel 1 01-10-2007 12:54 PM
Default and Automatic account assignment Lokesh M SAP R/3 0 12-08-2006 05:37 AM
Kindly let me know the Place JamesMike Companies 1 11-12-2006 02:48 PM
Place the Position Bessie Brainteasers 1 08-17-2006 10:47 AM


All times are GMT -4. The time now is 12:04 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved