Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
filling my db2 table with cics

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

New User


Joined: 04 Oct 2007
Posts: 10
Location: chennai

PostPosted: Mon Nov 26, 2007 7:59 pm    Post subject: filling my db2 table with cics
Reply with quote

i have adb2 table and need to move data entered on a map to the table.
i was able to move everything except the first 2 letters or characters from every field! simlply couldnt understand why? i have checked my code and there are no overlapping fields!
like when i enter
id- a1234
name - rahul
place -london
father- prakash
i see my table as
id name place father
234 hul ndon akash

i.e the first 2 characters of all the fields are not in my table

can anyone guess what the probs would be?
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Nov 26, 2007 8:15 pm    Post subject: Re: filling my db2 table with cics
Reply with quote

ravi30 wrote:
i have adb2 table and need to move data entered on a map to the table.
i was able to move everything except the first 2 letters or characters from every field! simlply couldnt understand why? i have checked my code and there are no overlapping fields!
like when i enter
id- a1234
name - rahul
place -london
father- prakash
i see my table as
id name place father
234 hul ndon akash

i.e the first 2 characters of all the fields are not in my table

can anyone guess what the probs would be?


Are the fields defined as VarChar?
Back to top
View user's profile Send private message
ravi30
Currently Banned

New User


Joined: 04 Oct 2007
Posts: 10
Location: chennai

PostPosted: Mon Nov 26, 2007 10:39 pm    Post subject:
Reply with quote

yes it has fields with varchar! so is there any problem with it!
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Nov 26, 2007 10:41 pm    Post subject:
Reply with quote

ravi30 wrote:
yes it has fields with varchar! so is there any problem with it!
varying char field has the length in the first 2 bytes followed by the data. Look in the DB2 Manuals.
Back to top
View user's profile Send private message
ravi30
Currently Banned

New User


Joined: 04 Oct 2007
Posts: 10
Location: chennai

PostPosted: Mon Nov 26, 2007 10:45 pm    Post subject:
Reply with quote

oh thanks for the very answer craq.
actually i have only varchar and integer fields in my table and as u said if varchar has the length in the first 2 bytes then what about integers craq
im missing them even for the phone numbers and pincode fields i enter!
Back to top
View user's profile Send private message
fayazbashask

New User


Joined: 28 Jun 2007
Posts: 9
Location: Hyderabad

PostPosted: Tue Nov 27, 2007 11:50 am    Post subject: Reply to: filling my db2 table with cics
Reply with quote

Hi,
the first thing you can check with length and your picture clauses.

The next but important thing is you might have not given the TIOAPFX=YES in your map, this also causes this type of problems

Regards,
Fayaz
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 Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts How to get complete URL from CICS Con... mbattu CICS 1 Tue Nov 14, 2017 11:59 pm
No new posts Integrating CICS applications craig2020 CICS 1 Sun Oct 29, 2017 6:49 pm
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us