View previous topic :: View next topic
|
Author |
Message |
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi all,
This was an interview question plz give some solutions :
1. How many ways are there to initialize a group variable in COBOL?
2. How many ISPF screens can be opened maximum?
3. How will you rebind a the Package if you are suppose to change the SQL statements in the program? |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Quote: |
1. How many ways are there to initialize a group variable in COBOL? |
Do u want to find the ultimate number of ways.
Quote: |
2. How many ISPF screens can be opened maximum? |
By default 8, but it can be increased by sys admins up to a max limit of 32. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Priyesh,
Quote: |
1. How many ways are there to initialize a group variable in COBOL?
Do u want to find the ultimate number of ways. |
Get me some available common ways.... plzz... |
|
Back to top |
|
|
Husna
New User
Joined: 02 Jun 2006 Posts: 49
|
|
|
|
khamarutheen,
You can use the option.... list+F9 to see all the opened screens (8 Screens) |
|
Back to top |
|
|
crrindia
Active User
Joined: 02 Jul 2005 Posts: 124 Location: Gurgaon
|
|
|
|
Also you can use SWAP LIST command to see all the opened screens. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
khamarutheen,
Common ways are
1 By using Intialize verb
2 by using redifine
3 By moving 0 or spaces to numeric & alpha numeric variable |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Hi Abu... How r u...
I m late... Ekta already enlisted what was needed...
cheers...
Priyesh... |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
You can also code a value clause at the group level, e.g.:
Code: |
01 grp-fld value spaces.
05 el-1 pic x.
05 el-2 pic x.
05 el-3 pic x. |
or
Code: |
01 grp-fld value all '5'.
05 el-1 pic x.
05 el-2 pic x.
05 el-3 pic x. |
In this case the grp-fld will contain "555". |
|
Back to top |
|
|
SIVAMAIN
New User
Joined: 24 Jun 2006 Posts: 12
|
|
|
|
maximum we can open 8 screens in ISPF PANEL.
through values clause also we can initialize a variable |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi all,
Thanks for your valuable reply. ....
Priyesh,
Thanks... Hope Fine... Have a nice day.. |
|
Back to top |
|
|
|