Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Semrush - keyword research tool

Create your online store today with Shopify

Turn ChatGPT, Claude, Gemini, And CoPilot Into Your Personal Assistant, Business Coach, Content Creator, And More

AFFILIATE MARKETING Your all-in-one performance engine Manage affiliates, creators, and customer referrals in one unified platform—turning every partnership into measurable growth

Secure & Reliable Web Hosting, Free Domain, Free SSL, 1-Click WordPress Install, Expert 24/7 Support

Disclosure: My content contains affiliate links.

43,563 questions

56,781 answers

573 users

How to move data between variables in COBOL

1 Answer

0 votes
IDENTIFICATION DIVISION.
PROGRAM-ID. INPUT_NUMBERS.
DATA DIVISION.
    WORKING-STORAGE SECTION.
        77 PINNUM1 PIC 9(5) VALUE 90324.                   
        77 PINNUM2 PIC 9(5).                             
PROCEDURE DIVISION.
    MOVE PINNUM1 TO PINNUM2.                       
    DISPLAY PINNUM1.                              
    DISPLAY PINNUM2.                             
STOP RUN.


*> run:
*>
*> 90324
*> 90324
*>

 



answered Oct 25, 2024 by avibootz

Related questions

2 answers 723 views
723 views asked Sep 18, 2020 by avibootz
2 answers 431 views
431 views asked Sep 18, 2020 by avibootz
2 answers 467 views
467 views asked Sep 17, 2020 by avibootz
2 answers 456 views
456 views asked Sep 17, 2020 by avibootz
1 answer 369 views
369 views asked Sep 17, 2020 by avibootz
1 answer 378 views
378 views asked Sep 17, 2020 by avibootz
1 answer 370 views
...