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: 193
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: 10274
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: 193
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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