Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COBOL Programming After compile and execute what the code below produce for values WS-NUM1, WS-NUM2, WS-NUM3 and WS-NUM4. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-NUM1 PIC

COBOL Programming

After compile and execute what the code below produce for values WS-NUM1, WS-NUM2, WS-NUM3 and WS-NUM4.

DATA DIVISION.

WORKING-STORAGE SECTION.

01 WS-NUM1 PIC 9(9).

01 WS-NUM2 PIC 9(9).

01 WS-NUM3 PIC 9(5).

01 WS-NUM4 PIC 9(6).

PROCEDURE DIVISION.

A000-FIRST-PARA.

MOVE 123456789 TO WS-NUM1.

MOVE WS-NUM1 TO WS-NUM2 WS-NUM3.

MOVE WS-NUM1(3:6) TO WS-NUM4.

.

STOP RUN.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Why does our law come from so many different sources?

Answered: 1 week ago

Question

7 What evidence of mediation do you see from your tasks?

Answered: 1 week ago

Question

b. Why were these values considered important?

Answered: 1 week ago