hi dudes.....can any one help me.....
what is SET TO TRUE all about,anyway?
Answer Posted / sasa
Level 88 variables which are conditional variables, will
have values which will be either true or false.
Like if you have condition that at the end of file set a
flag to true then you can declare level 88 variable which
will be set to true or will have a value 'Y'(declared value
for the variable) as soon as the file does not have any more
records.
05 WS-FLAG
88 WS-END_OF_FIlE Value 'Y'
88 WS-NOT_END_OF_FILE Value 'N'
Here when you say set WS-FLAG to true then it will
automatically get value 'Y', which shows end of the file.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
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 usage of comp fields in cobol?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What are the different rules to perform a Search?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
IF I mention stop run in CICS what happens?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is the local-storage section?
What are the pertinent COBOL
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Describe the cobol database components?
What are the rules of the move verb?
How many sections are there in data division in COBOL?