Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. To remove spaces in a variable length... Selvarajars JCL & VSAM 1 Thu Jun 21, 2018 1:07 pm
No new posts keep position anatol DFSORT/ICETOOL 7 Tue Jun 19, 2018 6:44 am
No new posts Submit JCL to INTRDR and check the st... srajendran2 COBOL Programming 7 Sat Jun 16, 2018 1:30 am
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us