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: 10255
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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