ACCEPT Screen Level Data.

Hi,

We used to capture the data from Screen Area using ACCEPT clause. The variable we defined inside Screen Area like

01 GMD3010A-DATA

     05 LINE 04 COL 62 PIC X     USING GMD-PEP.

And using ACCEPT GMD3010A-DATA we used to capture the data for GMD-REP. So whenever we are capturing any data from HELP screen we have to pass this to GMD-PEP.  So is there any alternate way to populate the GMD-REP value without MOVE statement. Please advice.

Parents
  • Can you please clarify your question here?

    What is GMD-REP, a different field in working-storage?

    The ACCEPT screen section item with USING causes the data-item in the USING to be automatically updated with the data entered in that field on the screen.

    If you wish for this data to be moved elsewhere you will have to code a move statement or something similar.

Reply
  • Can you please clarify your question here?

    What is GMD-REP, a different field in working-storage?

    The ACCEPT screen section item with USING causes the data-item in the USING to be automatically updated with the data entered in that field on the screen.

    If you wish for this data to be moved elsewhere you will have to code a move statement or something similar.

Children
No Data