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

Want to know the one how much of sapce taking by a variable


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

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Sun Jun 04, 2006 4:28 pm
Reply with quote

1. I want to know the one how much of sapce taking by the particular variable
Eg: 01 a pix 9(10)
i dont know how man bits iam accepting at the time of running
i want to know the how much of space taking.
for suppose im accepting value 123 at the time of run time, Result should be 3......is there any way to find ...pls let me know

2. i want to copy whole file from one environment(production) to another environment....is it possible by file-aid or any other way
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Wed Jun 07, 2006 2:03 pm
Reply with quote

Hi,

1. PIC 9(10) will always take 10 bytes of memory space irrspective of the values in it.
2. Yes. you can copy production file to a file in other environment provided you have "read" access to that.


Thanks,
Parikshit
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top