Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by gotluru

  1. gotluru

    left-justified to right-justified

    Hi Kurup, You are right, I am getting length of declared. As you said get the length from an array and use my logic. Thanks for correcting me..
  2. gotluru

    Changing Datatype

    Hi, Can I change Datatype Varchar2 to Clob by using Alter Table Command? Thanks in Advance.. Prasad
  3. gotluru

    left-justified to right-justified

    I don't know any function. But I know work around Try this: EX: DATANAME-LEFT PIC X(30). DATA-LENGTH PIC 9(3). DATANAME-RIGHT PIC X(30). MOVE LENGTH OF DATANAME-LEFT TO DATA-LENGTH. SUBTRACT DATANAME-LENGTH FROM 30 GIVING DATA-START. MOVE DATANAME-LEFT TO...
  4. gotluru

    How to Parse a Field

    Hi Jack and Gianni, Thanks for all your help. I used unstring with delimiter phrase. It works. Thanks once again. Prasad
  5. gotluru

    How I can Extract Right Side of a Field

    Hi, When I use Unstring I able to get 1 Yrs 11 for months, how i can extract 11 from there. Ex: Test unstring of: 1 Yrs 11 Months 3 Days 1 Rightmost digits(if any) are years 1 Yrs 11 Rightmost digits(if any) are months 1...
  6. gotluru

    How to Parse a Field

    Hi, I have free form field, i want to parse one field into 3 differant Numeric fields Numeric Ex: 19Yrs20Months44Days Yrs : 19 Months: 20 Days: 44 Thanks in Advance, Prasad
  7. gotluru

    Convert Julian Date 'YYYYDDD' into 'YYYYMMDD'

    Hi Crox, Thanks for your response. I am planning to use: COMPUTE GREG-DATE = FUNCTION INTEGER-OF-DAY (FUNCTION DAY-OF-INTEGER(JUL-DATE)) END-COMPUTE. Thanks, Prasad
  8. gotluru

    Convert Julian Date 'YYYYDDD' into 'YYYYMMDD'

    Hi Crox, Thanks for your immediate response. I hope i can use function calls. Can you send Syntax for the Function. Thanks for all your help. bye, Prasad
  9. gotluru

    Convert Julian Date 'YYYYDDD' into 'YYYYMMDD'

    Hi Betty, Thanks for your immediate response. I don't know what version of Cobol is running. I hope i can use function calls. Can you Send Function and Source Code also. So, that i can implement one of those. Thanks for all your help. bye, Prasad
  10. gotluru

    Convert Julian Date 'YYYYDDD' into 'YYYYMMDD'

    Date Manupulation. I have date in format 'YYYYDDD'.Can i use any date functions to convert into 'YYYYMMDD'. Please let me know.

Part and Inventory Search

Back
Top