The below is the declaration for a variable ws
01 ws pic 9(3).
if you want to insert space how will you do that.
in which level u should do it
Answer Posted / praveen bejjanki
The Question itself is not clear for me,
My understanding is to Insert space in the variable WS.
Then use move stmt as follows
Move space/spaces to WS.
Correct me if i'm wrong.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and PIC9v99?
Which Search verb is equivalent to PERFORM…VARYING?
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.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What are the pertinent COBOL
Write down the divisions of cobol program?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Difference between cobol and cobol-ii?
) How do u handle errors in BMS macro
What rules are to be followed while using the corresponding options?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
what is the use of outrecord?
What is the LINKAGE SECTION used in COBOL?
how do you reference the variable unblock file formats from cobol programs
How many bytes S(8) comp field occupy and its maximum value?