If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Load JCL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-20-06, 11:58
vikasa vikasa is offline
Registered User
 
Join Date: Nov 2005
Posts: 6
Load JCL

Hi

I am trying to Load S99 cobol variable from a file into Db2 table with integer column.

But my load JCL fails since i specify the position (1:2) Integer External for this varable.I cannot change these positions to (1:4).Is there any alternative?.

Thanks

Last edited by vikasa; 06-20-06 at 12:02.
Reply With Quote
  #2 (permalink)  
Old 06-20-06, 15:25
schintala schintala is offline
Registered User
 
Join Date: Apr 2005
Location: USA
Posts: 119
How that variable defined in table? Is it a smallint, int or decimal? The load card would be based on your table definitions. BTW, what error you receive during load?
Reply With Quote
  #3 (permalink)  
Old 06-21-06, 00:03
vikasa vikasa is offline
Registered User
 
Join Date: Nov 2005
Posts: 6
Hi ,

in the table it is defined as Integer.

the error i recieves is "INPUT FIELD 'Variable_Name' INVALID FOR "Table_Name"

Thanks
Vikas
Reply With Quote
  #4 (permalink)  
Old 06-21-06, 15:37
schintala schintala is offline
Registered User
 
Join Date: Apr 2005
Location: USA
Posts: 119
Verify the name of the column in load card and correct it.
Reply With Quote
  #5 (permalink)  
Old 06-22-06, 02:18
vikasa vikasa is offline
Registered User
 
Join Date: Nov 2005
Posts: 6
Hi ,

I have verified the variable name in the load card and its fine. so there must be something else.Please help???.

Thanks,
vikas
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On