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
 

 

HELP ME:Question for load table

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

New User


Joined: 25 May 2005
Posts: 13
Location: DaLian?China

PostPosted: Thu Jul 06, 2006 2:35 pm    Post subject: HELP ME:Question for load table
Reply with quote

Hi Everyone,
i have 1 question while loading table
the table has the folling fields:
NAME VARCHAR(17) NOT NULL,
GENDER CHAR(1) NOT NULL,
ADDRESS CHAR(20) NOT NULL,
SERIAL_NO CHAR(6) NOT NULL

my question is how to create a file myself which is used to load its records into the table to corporate the table layout, actually is to match the 'name' column, because its data type is varchar.
Back to top
View user's profile Send private message

rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Thu Jul 06, 2006 3:50 pm    Post subject:
Reply with quote

Which utility are you using for loading the table........

Regards,
jai
Back to top
View user's profile Send private message
kondakonda

New User


Joined: 20 Mar 2006
Posts: 34

PostPosted: Thu Jul 06, 2006 4:26 pm    Post subject: Re: HELP ME:Question for load table
Reply with quote

Hi,

For VARCHAR db2 elements corresponding cobol element is

10 NAME.
49 NAME-LEN PIC S9(4) USAGE COMP.
49 NAME-TEXT PIC X(17).
Back to top
View user's profile Send private message
rushing

New User


Joined: 25 May 2005
Posts: 13
Location: DaLian?China

PostPosted: Thu Jul 06, 2006 5:11 pm    Post subject:
Reply with quote

hi rajandhla,

utility is load

hi kondakonda,
i'm using PL/I.

thanks for ur help.

I want to if i can create a file and then enter record manully
but it seems not working, so program may required, but how is the logic,
read record from one file and write to the load file? then how is the definition of the two files?
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm


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