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
 

 

query continution in spufi input file

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

New User


Joined: 04 Mar 2009
Posts: 11
Location: chennai

PostPosted: Tue Jun 16, 2009 3:03 pm    Post subject: query continution in spufi input file
Reply with quote

In SPUFI input file size is 80 bytes per line, i want to update a table that field contains 100 bytes long. It goes next line of the input file. how can i achieve this updation ?

Example :
UPDATE TABLE
SET CMNT_FLD = ‘100 BYTES VALUE’
WHERE CMNT_FLD = 'XYZ'
Back to top
View user's profile Send private message

Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 186
Location: chennai

PostPosted: Tue Jun 16, 2009 3:49 pm    Post subject: Reply to: query continution in spufi input file
Reply with quote

Hi sathiyendran.erulan

Try yourself by giving the 100 character long table name. Now the table name can have upto 128 charater long with 80 byte SPUFI program.
So continue the name without a break. After column 72, go to the next line and start from the first position.

Regards
Raghu
Back to top
View user's profile Send private message
sathiyendran.erulan

New User


Joined: 04 Mar 2009
Posts: 11
Location: chennai

PostPosted: Tue Jun 16, 2009 4:14 pm    Post subject: Continution statement in DB2
Reply with quote

how we continue the query in next line in spufi ?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


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

PostPosted: Tue Jun 16, 2009 4:18 pm    Post subject: Re: Continution statement in DB2
Reply with quote

sathiyendran.erulan wrote:
how we continue the query in next line in spufi ?


SPUFI uses columns 1 to 72 of the input data set, when you get to column 72 just continue on the next line. There is no continuation indicator!
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Tue Jun 16, 2009 4:23 pm    Post subject: Reply to: query continution in spufi input file
Reply with quote

the input is free form, no need to fill the lines, just terminate each statement with a semicolon ;

http://publib.boulder.ibm.com/tividd/td/ITAME/SC32-1131-01/en_US/HTML/am41_install200.htm
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 186
Location: chennai

PostPosted: Tue Jun 16, 2009 4:23 pm    Post subject: Reply to: query continution in spufi input file
Reply with quote

Thanks Craq Giegerich

You have answered the query.

Regards
Raghu
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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