IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts How to get RBA value from CICS EVENT CICS 4
This topic is locked: you cannot edit posts or make replies. Sample CICS Webservices Program CICS 1
No new posts BMS map length field greater than zero CICS 3
No new posts Break a record into fields, each fiel... SYNCSORT 2
No new posts SYNCSORT Error - CONTROL FIELD BEYOND... SYNCSORT 10

Back to Top