how to display date in reverse order if the pic clause of
the is numeric
suppose date is 09032010 ==> need to print in 20100309
(pic clause is numeric)
Answer Posted / mf123
Thanks Reshma, ur absolutely correct,
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
) How do u handle errors in BMS macro
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Can we change the password using ALTER? anyone tried and changed?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Difference between array and sub-script ?
What is a SSRANGE and NOSSRANGE?
State the various causes of s0c1, s0c5 and s0c7.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How arrays can be defined in COBOL?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning