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: 10234
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 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 Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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