What is the difference between working storage copybook and
linkage section copybook?
Answers were Sorted based on User's Feedback
Answer / vinod
working storage copy book is temporal feilds and assign them
in dynamically on execution and where as linkage storage
copy book is to store permanent memory to related called sub
programs at its assigns the feild statically on before
passing the main program.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / ssampath
working storage is local and linkage is global
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nag(igate)
The working storage fields are used for the program to run
first time, whereas the Linkage section fields are used to
run the program more than once.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / karthik
Working storage copybook will get expanded during
compilation whereas linkage section copy book will get
expanded during translation. This is with respect to cics-
cobol program. The copybook EIBBlock gets included while
translation
| Is This Answer Correct ? | 6 Yes | 7 No |
Answer / guest
Those data's that are declared in the WS-Section in main
program should be declared in the linkage section in the sub
or called program.
| Is This Answer Correct ? | 0 Yes | 7 No |
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the difference between SEARCH and SEARCH ALL? What is more efficient?
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
COMP?
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
Difference between array and sub-script ?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
what happens of we dont give time stamp in precompilation process
what is the use of filler in cobol programing?
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.
i want a program using by if, evaluate , string, unstring, perform, occurs?
what are decleratives in cobol?