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

49 level in cobol


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
technut

New User


Joined: 27 Dec 2007
Posts: 73
Location: India

PostPosted: Tue Jul 20, 2010 12:38 pm
Reply with quote

One of my interview question recently..

Q) When 49 level is used in cobol? Is there any specific reason for using this level?
A) I have seen 49 level usually used to specify the host variables for VARCHAR type column in the DCLGEN but dont know of any specific reason.
Could there be any specific reason for this? If yes, pls explain..

Regs!
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Tue Jul 20, 2010 12:58 pm
Reply with quote

Hi technut,
Below 49 level we cant give any other elementary items, i think that because its using for declaring VARCHAR items.

Anyone correct me if i am wrong.
Back to top
View user's profile Send private message
technut

New User


Joined: 27 Dec 2007
Posts: 73
Location: India

PostPosted: Tue Jul 20, 2010 1:13 pm
Reply with quote

Thanks Bipin..
Hmm but even if we give anyother level than 49 for VARCHAR, then also it will work fine right...? So that doesnt make sense right!
Back to top
View user's profile Send private message
ssmukul

New User


Joined: 22 Jan 2008
Posts: 19
Location: India

PostPosted: Tue Jul 20, 2010 1:14 pm
Reply with quote

Hi Technut,

Please go through this link. This may be helpful in getting answer regarding use of Level 49 in varchar declaration.


Regards,
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
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 How to load to DB2 with column level ... DB2 6
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top