Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Check the value in the particular position of a variable

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Ramamurthy Ramesh

New User


Joined: 19 Jan 2006
Posts: 1
Location: usa

PostPosted: Thu Jan 19, 2006 10:47 am    Post subject: Check the value in the particular position of a variable
Reply with quote

Can i check the value in the particular position of the field like sqlcolumnvalue (50) (50:1) is the syntax correct?
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu Jan 19, 2006 12:31 pm    Post subject: Re: Check the value in the particular position of a variable
Reply with quote

HI,

Quote:
Can i check the value in the particular position of the field like sqlcolumnvalue (50) (50:1) is the syntax correct?


Yes you can check in COBOL it.

Code:
Field_Name(Start:Length).


Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
umeshkmrsh

New User


Joined: 21 Sep 2005
Posts: 79
Location: India

PostPosted: Thu Jan 19, 2006 6:02 pm    Post subject:
Reply with quote

If you are talking about COBOL. Yes you can. icon_biggrin.gif Its a feature added with COBOL-85 release.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am
No new posts OPC JCL Variable passion_sujesh IBM Tools 5 Fri Jul 01, 2016 4:21 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us