View previous topic :: View next topic
|
Author |
Message |
shiva_suresh Warnings : 2 New User
Joined: 05 May 2005 Posts: 11 Location: Bangalore
|
|
|
|
1) How to search all the programes which uses the same copy book?
2) HOw we can sort a table?
3) With out seeing Environment division by seeing only ropcedure division can we distinguist files?
4) can we have sections in Procedure division?
5) 1.2.3 there are three recordes how you can move them to diffnt files
6)Can you write the syntaxof sorting such a way that each field should be
prefixed by 3 blank spaces?
7) why 49 level no is used for VARCHAR?
Thanx i Advance |
|
Back to top |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
Quote: |
1) How to search all the programes which uses the same copy book?
|
Go to file aid, Use option 3.6.... Give the DSN of the cobol library and you can search by giving F <copybook-name>
or
OPen the cobol library and type TSO FINDTEXT copybook-name
or
As yu know using 3. 14 and give the string as your copybook name....
Quote: |
2) HOw we can sort a table?
|
Using any of the sort utilities..... There are many examples in the forum... So please do a search...
Quote: |
3) With out seeing Environment division by seeing only ropcedure division can we distinguist files?
|
Based on the mode of opening we can Identify whether the file is an I/P or O/P File.... If yu want anything more please let me know with your questions
Quote: |
4) can we have sections in Procedure division?
|
Yes we can.
Quote: |
5) 1.2.3 there are three recordes how you can move them to diffnt files
|
Using any of the sort utilities and by using OUTFIL FILES..... There are many examples in the forum... So please do a search...
Quote: |
6)Can you write the syntaxof sorting such a way that each field should be
prefixed by 3 blank spaces?
|
Ourec = (1: 3X, 4: 1,8) assuming the filed length is 8.
In the above code the first 3 bytes will be blank and starting from the 4th next 8 bytes will occupy the variable. Hope Iam clear...
Quote: |
7) why 49 level no is used for VARCHAR?
|
This was answered many times in the forum.... Please do a search.
Please correct me if Iam wrong somewhere.
Regards
Tanden. |
|
Back to top |
|
|
|