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

Function to reverse a string in COBOL


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

New User


Joined: 17 Sep 2006
Posts: 24

PostPosted: Sat Sep 30, 2006 4:40 pm
Reply with quote

Can some one help me, are there any other statement other than the below statement to generate a REVERSE OF A STRING.

Move FUNCTION REVERSE (source) to receiving-name.

This above functino is not working for my System

I dont know whether any SYSTEM LEVEL LOAD LIBS, I need to supply in my JCL. So please help me with anyother means.



Regards

Krishna
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Sep 30, 2006 7:01 pm
Reply with quote

What COBOL (VS, II, etc.) are you using?
Back to top
View user's profile Send private message
krishna_Murty
Warnings : 2

New User


Joined: 17 Sep 2006
Posts: 24

PostPosted: Sun Oct 01, 2006 12:44 pm
Reply with quote

Hi

We are using COBOL390.

Regards
Krishna
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Oct 02, 2006 4:33 am
Reply with quote

Hi K,

I should be working. When you request help w/a prob it helps to supply all pertinent info including a cut & paste of the insructions(s), fields involved, error msgs and JCL if necessary and anything else you may think will help.

There can be many reasons for the problem. The info is vital.
Back to top
View user's profile Send private message
krishna_Murty
Warnings : 2

New User


Joined: 17 Sep 2006
Posts: 24

PostPosted: Mon Oct 02, 2006 5:44 am
Reply with quote

Thanks so much Jack, for trying to help me,

As today is holiday for me, within a day, I will cut and paste the Working Storage variables, The Reverse Function Code , When I compiled the Program what the error message i am getting.

Regards
Krishna
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top