IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CICS aid keys to get a field protected


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Amit_Singh47

New User


Joined: 15 May 2013
Posts: 22
Location: India

PostPosted: Wed May 15, 2013 1:30 pm
Reply with quote

Hi All,

In a CICS map, i am trying to get a field protected. The code is the following:

PERFORM ATTR-CNT TIMES
MOVE WHITE-PROT-BRI-MDT TO
ACTIONA ( COM-TOTAL-RECORDS + 1 )
END-PERFORM

Here, ATTR-CNT and COM-TOTAL-RECORDS are simple variables.

However, this is not working as the attribute is not getting protected.

Please help.
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Wed May 15, 2013 2:28 pm
Reply with quote

Your PERFORM loop moves the attribute byte in every iteration to the same occurrence of ACTIONA. Instead you should set the indexing variable to a meaningful starting value and increase it per iteration by 1.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts How can I find the DDname of a file u... CICS 10
No new posts CICS COMMAREA CICS 3
No new posts interactive cics program using CICS s... CICS 5
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top