ID DIVISION.
PROGRAM-ID. PLO.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VAR1 PIC 9(2).
01 VAR2 PIC X(2).
PROCEDURE DIVISION.
ACCEPT VAR2.
MOVE VAR2 TO VAR1.
STOP RUN.

if i give 'PI' in var2 then what will b output of progr.
any abend?????

Answer Posted / giri12

SOC7

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

864


What is the Purpose of POINTER Phrase in STRING command in COBOL?

733


What is difference between static and dynamic call in cobol?

792


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1794


What is comp-1 and comp-2?

772






Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

836


What is amode(24)?

686


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

720


How do we get current date from system with century in COBOL?

816


How you can read the file from bottom?

667


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2349


How arrays can be defined in COBOL?

672


What is a SSRANGE and NOSSRANGE?

838


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1915


Have you used comp and comp-3 in your project? And how?

2014