Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Data loss on CICS map

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
tald_raghu

New User


Joined: 04 Jan 2008
Posts: 6
Location: Bangalore

PostPosted: Fri Jan 04, 2008 10:43 am    Post subject: Data loss on CICS map
Reply with quote

Hi,

I am sending a Map to Terminal from Programme through
SEND MAP
MAPSET
FROM
command. But in the Screen i am getting Data loss means i want to display the 1050 chanracters on the screen, but it is displaying only 999 characters, remaining 51 chars are getting lossed. I checked through the SMARTTEST tool, it has all the values in the FROM option of SEND MAP command, but when it send to Terminal 51 chars are not displaying. It is displaying for the New Test cases after the code changes & but for the existing records it's happening like this. Please let me know how to resolve this issue.
Back to top
View user's profile Send private message

tald_raghu

New User


Joined: 04 Jan 2008
Posts: 6
Location: Bangalore

PostPosted: Fri Jan 04, 2008 10:45 am    Post subject: Data Loss while displaying on the Screen
Reply with quote

Hi,

Please help me to resolve this issue ASAP.....
Back to top
View user's profile Send private message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Fri Jan 04, 2008 10:52 am    Post subject: Re: CICS
Reply with quote

[quote="tald_raghu"]Hi,

It is displaying for the New Test cases after the code changes & but for the existing records it's happening like this.


Have u taken the new copy of the map by using
CEMT S MAP(MAP NAME) NE ??
Back to top
View user's profile Send private message
tald_raghu

New User


Joined: 04 Jan 2008
Posts: 6
Location: Bangalore

PostPosted: Sat Jan 05, 2008 12:53 pm    Post subject: CICS
Reply with quote

Hi Ahalya,

Thanks for your suggestion.I did the Newcopy still iam facing the same issue.
I will explain you cleraly before & After changes.

This programme fetches the DB2 data from table & displays on the Terminal

Before code change:

Objective: Filed1 = 175 char, Field2 = 175 char, Field3,...
Field1 CHAR(175)
Field2 CHAR(175)

Currently Field1+field2=350 chars are displaying in 7 line in
only ONE Screen.

i.e field1 175th char will finish in 4th line, & 176th char(1st char of field2) starts
immediatley to field1 in 4th line.
5,6,7th line displays the field2 data on the Screen



After code change:

Objective: Filed1 = 275 char, Field2 = 275 char, Field3,...
Field1 VARCHAR(175)
Field2 VARCHAR(175)

To display the 550 chars in 2 screen along with other data. i.e
Screen1 = Field1(275)+Fiel2(25chars) 6lines
Screen2 =Field2(250chars) 5lines

In Screen1 275th char of Field1 displays on the 6th line &
276 to 300 chars are from the field2(1:25) on the 6th line.

In Screen2 250 chars of Field2 displaying in 5lines along with other
data.

The test cases crated after code changes are displaying properly in Screen1
& Screen2.

What iam facing is in Screen1, is for the OLD records existing
DB2 tables which were present in the Before code changes
not displyaing the Field2(1:25) chars on the 6th line of Screen1
& Screen2 displays the 250chars of Field2 correctly.


I checked through Smarttest the Symbolic Map variable of 6th
line has the Field2 data i.e 1:25 chars. But not displaying
on the Screen1. Even in the From() option of the Send MAP command
has the data, but not displaying on the Screen1. Even Smarttest
not able to track where these 25chars getting lossed once the
SEND MAP command Issued in Programme.

Please helpme resolve this issue ASAP.
Back to top
View user's profile Send private message
tald_raghu

New User


Joined: 04 Jan 2008
Posts: 6
Location: Bangalore

PostPosted: Sat Jan 05, 2008 12:56 pm    Post subject:
Reply with quote

Hi,

Sorry make correction for the AFter the code changes.
Field1 VARCHAR(275)
Field2 VARCHAR(275)
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sat Jan 05, 2008 10:37 pm    Post subject:
Reply with quote

Your description is very confusing.

can you give example of the BMS map copybooks for screen1 and screen2?

and an example of the send map command you are using.

what language are you coding in ?
Back to top
View user's profile Send private message
tald_raghu

New User


Joined: 04 Jan 2008
Posts: 6
Location: Bangalore

PostPosted: Mon Jan 07, 2008 10:17 am    Post subject: Reply to: Data loss on CICS map
Reply with quote

Hi,

The language is COBOL,DB2. i have attached the example for the reference.


Say Mapset name: Screen
Say Mapname :Screen
Screen1:


Code:
   ---------------------------------------------------------------------------------
   |1         Screen1-Name   
   |2      
   |3Name:      PhNO:
   |4
   |5    Name Charcateristics:
   |6
   |7    Field1 Begins 1111111111111111111111111111111111111111111111111111     
   |8    111111111111111111111111111111111111111111111111111111111111111111   
   |9    111111111111111111111111111111111111111111111111111111111111111111
   |0    111111111111111111111111111111111111111111111111111111111111111111
   |1    111111111111111111111111111111111111111111111111111111111111111111
   |2    11111111111111Filed1EndsFiled2 Begins22222222222222222222222222222
   |3
   |4
   |5
   |6
   |7
   |8
   |9
   |0
   |1
   |2
   |3
   |4       
   ---------------------------------------------------------------------------------


Screen2:


Code:
   ---------------------------------------------------------------------------------
   |1         Screen2-Name   
   |2      
   |3Name:      PhNO:
   |4
   |5    Name Charcateristics:
   |6
   |7    222222222222222222222222222222222222222222222222222222222222222222
   |8    222222222222222222222222222222222222222222222222222222222222222222   
   |9    222222222222222222222222222222222222222222222222222222222222222222
   |0    222222222222222222222222222222222222222222222222222222222222222222
   |1    2222222222222222222222222222222222222FIELD2Ends
   |2   
   |3
   |4
   |5
   |6
   |7
   |8
   |9
   |0
   |1
   |2
   |3
   |4
   ---------------------------------------------------------------------------------



Code:
Exec  CICS send map(Screen)
           Mapset(Screen)
           FROM(ScreenO)
           ERASE
ENd-Exec


When i send Map to terminal the Fieldd2 data not displaying on the 12th line of Screen1, it displays only
till the end Field1 data, after that field2 data not displyaing for the old records
which were present before code changes.

The length mentioned is for the example purpose.
Back to top
View user's profile Send private message
tald_raghu

New User


Joined: 04 Jan 2008
Posts: 6
Location: Bangalore

PostPosted: Mon Jan 07, 2008 10:19 am    Post subject: CICS
Reply with quote

Screen size is 24X80
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1226
Location: Israel

PostPosted: Mon Jan 07, 2008 10:51 am    Post subject:
Reply with quote

Which kind of MOVE do you do to achieve:
Quote:
Screen1 = Field1(275)+Fiel2(25chars)
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Jan 07, 2008 9:53 pm    Post subject: Re: CICS
Reply with quote

tald_raghu wrote:
Please helpme resolve this issue ASAP.
Please provide the BMS definations for the field/fields and the syntax of the MOVE.
Also include the defination of the sending field.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 1 Mon Mar 27, 2017 9:58 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us