FILE PHOTO - Flags of U.S. and China are placed for a meeting in Beijing, China June 30, 2017. REUTERS/Jason Lee

WASHINGTON (Reuters) - Senior U.S. and Chinese officials will meet to discuss bilateral economic issues this month after threats by U.S. President Donald Trump to use trade to pressure Beijing to do more to rein in North Korea’s weapons programs, a U.S. official with knowledge of the decision said.

The meeting of the U.S.-China Comprehensive Economic Dialogue will take place in Washington on July 19, and will be the first covering economic and trade issues in a new format for U.S.-China dialogue agreed after a summit between Trump and his Chinese counterpart, Xi Jinping, in April.

Trump pledged repeatedly during his election campaign to take a tough stance on Chinese trade practices deemed unfair to the United States, but his rhetoric softened after a friendlier-than-expected summit with Xi.

Shortly after their meeting, Trump said he had told Xi that China would get a better trade deal if it worked to rein in North Korea, whose nuclear and missile programs have become an increasing threat to the United States.

Lately though, Trump, who is to meet Xi again on the sidelines of the G20 summit in Hamburg this week, has appeared increasingly frustrated that China - North Korea’s neighbor and main trading partner - has not taken stronger action.

North Korea said it tested its first intercontinental ballistic missile (ICBM) on Tuesday and experts said it appeared to be of a type capable of hitting all of Alaska, prompting renewed U.S. calls for global diplomatic action.

The United States has said it will propose new United Nations sanctions in response to the test, but it is unclear whether China and Russia will support these. Unlike Washington, neither Moscow nor Beijing have described the missile used in the test as an ICBM.

Trump vowed on Thursday to confront North Korea “very strongly” after the latest missile test and urged nations to show Pyongyang that there would be consequences for its weapons programs